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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)