#[repr(u8)]pub enum PolHostClk {
FALLING_EDGE = 0,
RISING_EDGE = 1,
}Variants§
FALLING_EDGE = 0
Falling edge of host need_clock triggers wake-up.
RISING_EDGE = 1
Rising edge of host need_clock triggers wake-up.
Implementations§
Source§impl PolHostClk
impl PolHostClk
Trait Implementations§
Source§impl Clone for PolHostClk
impl Clone for PolHostClk
Source§fn clone(&self) -> PolHostClk
fn clone(&self) -> PolHostClk
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 PolHostClk
impl Debug for PolHostClk
Source§impl From<PolHostClk> for u8
impl From<PolHostClk> for u8
Source§fn from(val: PolHostClk) -> u8
fn from(val: PolHostClk) -> u8
Converts to this type from the input type.
Source§impl From<u8> for PolHostClk
impl From<u8> for PolHostClk
Source§fn from(val: u8) -> PolHostClk
fn from(val: u8) -> PolHostClk
Converts to this type from the input type.
Source§impl Ord for PolHostClk
impl Ord for PolHostClk
Source§fn cmp(&self, other: &PolHostClk) -> Ordering
fn cmp(&self, other: &PolHostClk) -> 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 PolHostClk
impl PartialEq for PolHostClk
Source§impl PartialOrd for PolHostClk
impl PartialOrd for PolHostClk
impl Copy for PolHostClk
impl Eq for PolHostClk
impl StructuralPartialEq for PolHostClk
Auto Trait Implementations§
impl Freeze for PolHostClk
impl RefUnwindSafe for PolHostClk
impl Send for PolHostClk
impl Sync for PolHostClk
impl Unpin for PolHostClk
impl UnwindSafe for PolHostClk
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