#[repr(u8)]pub enum SwnSwp {
NORMAL = 0,
P_MONITOR = 1,
N_MONITOR = 2,
FORBIDDEN = 3,
}Variants§
NORMAL = 0
Normal mode.
P_MONITOR = 1
P-Monitor mode. Measure with weak P transistor.
N_MONITOR = 2
P-Monitor mode. Measure with weak N transistor.
FORBIDDEN = 3
Don’t use.
Implementations§
Trait Implementations§
Source§impl Ord for SwnSwp
impl Ord for SwnSwp
Source§impl PartialOrd for SwnSwp
impl PartialOrd for SwnSwp
impl Copy for SwnSwp
impl Eq for SwnSwp
impl StructuralPartialEq for SwnSwp
Auto Trait Implementations§
impl Freeze for SwnSwp
impl RefUnwindSafe for SwnSwp
impl Send for SwnSwp
impl Sync for SwnSwp
impl Unpin for SwnSwp
impl UnwindSafe for SwnSwp
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