Struct Presc
#[repr(transparent)]pub struct Presc(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Presc
impl Presc
pub const DIV1: Self
pub const DIV1: Self
input clock not divided
pub const DIV2: Self
pub const DIV2: Self
input clock divided by 2
pub const DIV4: Self
pub const DIV4: Self
input clock divided by 4
pub const DIV6: Self
pub const DIV6: Self
input clock divided by 6
pub const DIV8: Self
pub const DIV8: Self
input clock divided by 8
pub const DIV10: Self
pub const DIV10: Self
input clock divided by 10
pub const DIV12: Self
pub const DIV12: Self
input clock divided by 12
pub const DIV16: Self
pub const DIV16: Self
input clock divided by 16
pub const DIV32: Self
pub const DIV32: Self
input clock divided by 32
pub const DIV64: Self
pub const DIV64: Self
input clock divided by 64
pub const DIV128: Self
pub const DIV128: Self
input clock divided by 128
pub const DIV256: Self
pub const DIV256: Self
input clock divided by 256
Trait Implementations§
§impl Ord for Presc
impl Ord for Presc
§impl PartialOrd for Presc
impl PartialOrd for Presc
impl Copy for Presc
impl Eq for Presc
impl StructuralPartialEq for Presc
Auto Trait Implementations§
impl Freeze for Presc
impl RefUnwindSafe for Presc
impl Send for Presc
impl Sync for Presc
impl Unpin for Presc
impl UnwindSafe for Presc
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