Struct Pol
#[repr(transparent)]pub struct Pol(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Pol
impl Pol
pub const NOEDGE: Self
pub const NOEDGE: Self
No event, i.e. no synchronization nor detection
pub const RISINGEDGE: Self
pub const RISINGEDGE: Self
Rising edge
pub const FALLINGEDGE: Self
pub const FALLINGEDGE: Self
Falling edge
pub const BOTHEDGES: Self
pub const BOTHEDGES: Self
Rising and falling edges
Trait Implementations§
§impl Ord for Pol
impl Ord for Pol
§impl PartialOrd for Pol
impl PartialOrd for Pol
impl Copy for Pol
impl Eq for Pol
impl StructuralPartialEq for Pol
Auto Trait Implementations§
impl Freeze for Pol
impl RefUnwindSafe for Pol
impl Send for Pol
impl Sync for Pol
impl Unpin for Pol
impl UnwindSafe for Pol
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