#[repr(transparent)]pub struct Enable(pub u16);
Tuple Fields§
§0: u16
Implementations§
Trait Implementations§
source§impl Ord for Enable
impl Ord for Enable
source§impl PartialEq<Enable> for Enable
impl PartialEq<Enable> for Enable
source§impl PartialOrd<Enable> for Enable
impl PartialOrd<Enable> for Enable
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Enable
impl Eq for Enable
impl StructuralEq for Enable
impl StructuralPartialEq for Enable
Auto Trait Implementations§
impl RefUnwindSafe for Enable
impl Send for Enable
impl Sync for Enable
impl Unpin for Enable
impl UnwindSafe for Enable
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