#[repr(u8)]pub enum ShieldEnable {
Show 16 variants
DISABLED = 0,
ENABLED = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
DISABLED = 0
Disables
ENABLED = 1
Enables
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Source§impl ShieldEnable
impl ShieldEnable
Trait Implementations§
Source§impl Clone for ShieldEnable
impl Clone for ShieldEnable
Source§fn clone(&self) -> ShieldEnable
fn clone(&self) -> ShieldEnable
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 ShieldEnable
impl Debug for ShieldEnable
Source§impl From<ShieldEnable> for u8
impl From<ShieldEnable> for u8
Source§fn from(val: ShieldEnable) -> u8
fn from(val: ShieldEnable) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ShieldEnable
impl From<u8> for ShieldEnable
Source§fn from(val: u8) -> ShieldEnable
fn from(val: u8) -> ShieldEnable
Converts to this type from the input type.
Source§impl Ord for ShieldEnable
impl Ord for ShieldEnable
Source§fn cmp(&self, other: &ShieldEnable) -> Ordering
fn cmp(&self, other: &ShieldEnable) -> 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 ShieldEnable
impl PartialEq for ShieldEnable
Source§impl PartialOrd for ShieldEnable
impl PartialOrd for ShieldEnable
impl Copy for ShieldEnable
impl Eq for ShieldEnable
impl StructuralPartialEq for ShieldEnable
Auto Trait Implementations§
impl Freeze for ShieldEnable
impl RefUnwindSafe for ShieldEnable
impl Send for ShieldEnable
impl Sync for ShieldEnable
impl Unpin for ShieldEnable
impl UnwindSafe for ShieldEnable
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