#[repr(u8)]pub enum DirectionInhibit {
Accept = 0,
Inhibit = 1,
}Expand description
Represents variants for inhibiting a denomination direction.
Variants§
Implementations§
Source§impl DirectionInhibit
impl DirectionInhibit
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new DirectionInhibit.
Sourcepub const fn from_bool(val: bool) -> Self
pub const fn from_bool(val: bool) -> Self
Converts a bool into a DirectionInhibit.
Trait Implementations§
Source§impl Clone for DirectionInhibit
impl Clone for DirectionInhibit
Source§fn clone(&self) -> DirectionInhibit
fn clone(&self) -> DirectionInhibit
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 DirectionInhibit
impl Debug for DirectionInhibit
Source§impl Default for DirectionInhibit
impl Default for DirectionInhibit
Source§impl Display for DirectionInhibit
impl Display for DirectionInhibit
Source§impl From<&DirectionInhibit> for &'static str
impl From<&DirectionInhibit> for &'static str
Source§fn from(val: &DirectionInhibit) -> Self
fn from(val: &DirectionInhibit) -> Self
Converts to this type from the input type.
Source§impl From<&DirectionInhibit> for bool
impl From<&DirectionInhibit> for bool
Source§fn from(val: &DirectionInhibit) -> Self
fn from(val: &DirectionInhibit) -> Self
Converts to this type from the input type.
Source§impl From<&DirectionInhibit> for u8
impl From<&DirectionInhibit> for u8
Source§fn from(val: &DirectionInhibit) -> Self
fn from(val: &DirectionInhibit) -> Self
Converts to this type from the input type.
Source§impl From<DirectionInhibit> for &'static str
impl From<DirectionInhibit> for &'static str
Source§fn from(val: DirectionInhibit) -> Self
fn from(val: DirectionInhibit) -> Self
Converts to this type from the input type.
Source§impl From<DirectionInhibit> for bool
impl From<DirectionInhibit> for bool
Source§fn from(val: DirectionInhibit) -> Self
fn from(val: DirectionInhibit) -> Self
Converts to this type from the input type.
Source§impl From<DirectionInhibit> for u8
impl From<DirectionInhibit> for u8
Source§fn from(val: DirectionInhibit) -> Self
fn from(val: DirectionInhibit) -> Self
Converts to this type from the input type.
Source§impl From<bool> for DirectionInhibit
impl From<bool> for DirectionInhibit
Source§impl From<u8> for DirectionInhibit
impl From<u8> for DirectionInhibit
Source§impl PartialEq for DirectionInhibit
impl PartialEq for DirectionInhibit
impl Copy for DirectionInhibit
impl Eq for DirectionInhibit
impl StructuralPartialEq for DirectionInhibit
Auto Trait Implementations§
impl Freeze for DirectionInhibit
impl RefUnwindSafe for DirectionInhibit
impl Send for DirectionInhibit
impl Sync for DirectionInhibit
impl Unpin for DirectionInhibit
impl UnwindSafe for DirectionInhibit
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