#[repr(usize)]pub enum IoConfigMode {
Overwrite = 0,
SetOnly = 1,
ClearOnly = 2,
}Variants§
Overwrite = 0
values in the structure will overwrite everything
SetOnly = 1
only values that are 1 will set the corresponding bit
ClearOnly = 2
only values that are 1 will clear the corresponding bit
Trait Implementations§
Source§impl Clone for IoConfigMode
impl Clone for IoConfigMode
Source§fn clone(&self) -> IoConfigMode
fn clone(&self) -> IoConfigMode
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 IoConfigMode
impl Debug for IoConfigMode
Source§impl From<usize> for IoConfigMode
impl From<usize> for IoConfigMode
Source§impl PartialEq for IoConfigMode
impl PartialEq for IoConfigMode
impl Copy for IoConfigMode
impl Eq for IoConfigMode
impl StructuralPartialEq for IoConfigMode
Auto Trait Implementations§
impl Freeze for IoConfigMode
impl RefUnwindSafe for IoConfigMode
impl Send for IoConfigMode
impl Sync for IoConfigMode
impl Unpin for IoConfigMode
impl UnwindSafe for IoConfigMode
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