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