#[repr(u8)]pub enum InputConfig {
Zero = 0,
Pass = 1,
Complement = 2,
One = 3,
}Variants§
Zero = 0
Force the selected input to zero.
Pass = 1
Pass the selected input unchanged.
Complement = 2
Complement the selected input.
One = 3
Force the selected input to one.
Implementations§
Source§impl InputConfig
impl InputConfig
Trait Implementations§
Source§impl Clone for InputConfig
impl Clone for InputConfig
Source§fn clone(&self) -> InputConfig
fn clone(&self) -> InputConfig
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 InputConfig
impl Debug for InputConfig
Source§impl From<InputConfig> for u8
impl From<InputConfig> for u8
Source§fn from(val: InputConfig) -> u8
fn from(val: InputConfig) -> u8
Converts to this type from the input type.
Source§impl From<u8> for InputConfig
impl From<u8> for InputConfig
Source§fn from(val: u8) -> InputConfig
fn from(val: u8) -> InputConfig
Converts to this type from the input type.
Source§impl Ord for InputConfig
impl Ord for InputConfig
Source§fn cmp(&self, other: &InputConfig) -> Ordering
fn cmp(&self, other: &InputConfig) -> 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 InputConfig
impl PartialEq for InputConfig
Source§impl PartialOrd for InputConfig
impl PartialOrd for InputConfig
impl Copy for InputConfig
impl Eq for InputConfig
impl StructuralPartialEq for InputConfig
Auto Trait Implementations§
impl Freeze for InputConfig
impl RefUnwindSafe for InputConfig
impl Send for InputConfig
impl Sync for InputConfig
impl Unpin for InputConfig
impl UnwindSafe for InputConfig
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