Enum ExtramProtectSlave0
#[repr(u8)]pub enum ExtramProtectSlave0 {
Allowed = 0,
Blocked = 1,
}Variants§
Implementations§
§impl ExtramProtectSlave0
impl ExtramProtectSlave0
pub const fn from_bits(val: u8) -> ExtramProtectSlave0
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for ExtramProtectSlave0
impl Clone for ExtramProtectSlave0
§fn clone(&self) -> ExtramProtectSlave0
fn clone(&self) -> ExtramProtectSlave0
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 ExtramProtectSlave0
§impl Debug for ExtramProtectSlave0
impl Debug for ExtramProtectSlave0
impl Eq for ExtramProtectSlave0
§impl From<u8> for ExtramProtectSlave0
impl From<u8> for ExtramProtectSlave0
§fn from(val: u8) -> ExtramProtectSlave0
fn from(val: u8) -> ExtramProtectSlave0
Converts to this type from the input type.
§impl Ord for ExtramProtectSlave0
impl Ord for ExtramProtectSlave0
§fn cmp(&self, other: &ExtramProtectSlave0) -> Ordering
fn cmp(&self, other: &ExtramProtectSlave0) -> 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 ExtramProtectSlave0
impl PartialEq for ExtramProtectSlave0
§impl PartialOrd for ExtramProtectSlave0
impl PartialOrd for ExtramProtectSlave0
impl StructuralPartialEq for ExtramProtectSlave0
Auto Trait Implementations§
impl Freeze for ExtramProtectSlave0
impl RefUnwindSafe for ExtramProtectSlave0
impl Send for ExtramProtectSlave0
impl Sync for ExtramProtectSlave0
impl Unpin for ExtramProtectSlave0
impl UnsafeUnpin for ExtramProtectSlave0
impl UnwindSafe for ExtramProtectSlave0
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