1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#[lang = "sized"] trait Sized {} #[lang = "receiver"] #[unstable(feature = "receiver_trait", issue = "none")] // #[doc(hidden)] pub trait Receiver { // Empty. } #[unstable(feature = "receiver_trait", issue = "none")] impl<T: ?Sized> Receiver for &T {} #[unstable(feature = "receiver_trait", issue = "none")] impl<T: ?Sized> Receiver for &mut T {}