#[repr(u8)]pub enum CtrlPresentSha {
ABSENT = 0,
PRESENT = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CtrlPresentSha
impl Clone for CtrlPresentSha
Source§fn clone(&self) -> CtrlPresentSha
fn clone(&self) -> CtrlPresentSha
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CtrlPresentSha
impl Debug for CtrlPresentSha
Source§impl From<CtrlPresentSha> for u8
impl From<CtrlPresentSha> for u8
Source§fn from(val: CtrlPresentSha) -> u8
fn from(val: CtrlPresentSha) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CtrlPresentSha
impl From<u8> for CtrlPresentSha
Source§fn from(val: u8) -> CtrlPresentSha
fn from(val: u8) -> CtrlPresentSha
Converts to this type from the input type.
Source§impl Ord for CtrlPresentSha
impl Ord for CtrlPresentSha
Source§fn cmp(&self, other: &CtrlPresentSha) -> Ordering
fn cmp(&self, other: &CtrlPresentSha) -> Ordering
1.21.0 · 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
Source§impl PartialEq for CtrlPresentSha
impl PartialEq for CtrlPresentSha
Source§impl PartialOrd for CtrlPresentSha
impl PartialOrd for CtrlPresentSha
impl Copy for CtrlPresentSha
impl Eq for CtrlPresentSha
impl StructuralPartialEq for CtrlPresentSha
Auto Trait Implementations§
impl Freeze for CtrlPresentSha
impl RefUnwindSafe for CtrlPresentSha
impl Send for CtrlPresentSha
impl Sync for CtrlPresentSha
impl Unpin for CtrlPresentSha
impl UnwindSafe for CtrlPresentSha
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