pub struct SomeEye<Eye>(u8, PhantomData<Eye>);
Expand description
Pattern-match on eyes
Tuple Fields§
§0: u8
§1: PhantomData<Eye>
Trait Implementations§
source§impl<'de, Eye> Deserialize<'de> for SomeEye<Eye>
impl<'de, Eye> Deserialize<'de> for SomeEye<Eye>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<Eye1, Eye2> PartialEq<SomeEye<Eye2>> for SomeEye<Eye1>
impl<Eye1, Eye2> PartialEq<SomeEye<Eye2>> for SomeEye<Eye1>
impl<Eye: Copy> Copy for SomeEye<Eye>
Auto Trait Implementations§
impl<Eye> Freeze for SomeEye<Eye>
impl<Eye> RefUnwindSafe for SomeEye<Eye>where
Eye: RefUnwindSafe,
impl<Eye> Send for SomeEye<Eye>where
Eye: Send,
impl<Eye> Sync for SomeEye<Eye>where
Eye: Sync,
impl<Eye> Unpin for SomeEye<Eye>where
Eye: Unpin,
impl<Eye> UnwindSafe for SomeEye<Eye>where
Eye: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more