Enum Whiteoffset
#[repr(u8)]pub enum Whiteoffset {
Include = 0,
Exclude = 1,
}Variants§
Implementations§
§impl Whiteoffset
impl Whiteoffset
pub const fn from_bits(val: u8) -> Whiteoffset
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Whiteoffset
impl Clone for Whiteoffset
§fn clone(&self) -> Whiteoffset
fn clone(&self) -> Whiteoffset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Whiteoffset
§impl Debug for Whiteoffset
impl Debug for Whiteoffset
impl Eq for Whiteoffset
§impl From<u8> for Whiteoffset
impl From<u8> for Whiteoffset
§fn from(val: u8) -> Whiteoffset
fn from(val: u8) -> Whiteoffset
Converts to this type from the input type.
§impl Ord for Whiteoffset
impl Ord for Whiteoffset
§fn cmp(&self, other: &Whiteoffset) -> Ordering
fn cmp(&self, other: &Whiteoffset) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for Whiteoffset
impl PartialEq for Whiteoffset
§impl PartialOrd for Whiteoffset
impl PartialOrd for Whiteoffset
impl StructuralPartialEq for Whiteoffset
Auto Trait Implementations§
impl Freeze for Whiteoffset
impl RefUnwindSafe for Whiteoffset
impl Send for Whiteoffset
impl Sync for Whiteoffset
impl Unpin for Whiteoffset
impl UnsafeUnpin for Whiteoffset
impl UnwindSafe for Whiteoffset
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