Struct ChTr2Trigpol
#[repr(transparent)]pub struct ChTr2Trigpol(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl ChTr2Trigpol
impl ChTr2Trigpol
pub const NONE: Self
pub const NONE: Self
no trigger (masked trigger event)
pub const RISINGEDGE: Self
pub const RISINGEDGE: Self
trigger on the rising edge
pub const FALLINGEDGE: Self
pub const FALLINGEDGE: Self
trigger on the falling edge
pub const NONEALT: Self
pub const NONEALT: Self
same as 00
Trait Implementations§
§impl Clone for ChTr2Trigpol
impl Clone for ChTr2Trigpol
§fn clone(&self) -> ChTr2Trigpol
fn clone(&self) -> ChTr2Trigpol
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Ord for ChTr2Trigpol
impl Ord for ChTr2Trigpol
§impl PartialEq for ChTr2Trigpol
impl PartialEq for ChTr2Trigpol
§impl PartialOrd for ChTr2Trigpol
impl PartialOrd for ChTr2Trigpol
impl Copy for ChTr2Trigpol
impl Eq for ChTr2Trigpol
impl StructuralPartialEq for ChTr2Trigpol
Auto Trait Implementations§
impl Freeze for ChTr2Trigpol
impl RefUnwindSafe for ChTr2Trigpol
impl Send for ChTr2Trigpol
impl Sync for ChTr2Trigpol
impl Unpin for ChTr2Trigpol
impl UnwindSafe for ChTr2Trigpol
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