Struct RefreshCnt
#[repr(transparent)]pub struct RefreshCnt(pub u32);
Tuple Fields§
§0: u32
Implementations§
§impl RefreshCnt
impl RefreshCnt
pub const CONTINUOUS: RefreshCnt = _
pub const CONTINUOUS: RefreshCnt = _
Update every PWM period
§impl RefreshCnt
impl RefreshCnt
pub const fn from_bits(val: u32) -> RefreshCnt
pub const fn to_bits(self) -> u32
Trait Implementations§
§impl Clone for RefreshCnt
impl Clone for RefreshCnt
§fn clone(&self) -> RefreshCnt
fn clone(&self) -> RefreshCnt
Returns a copy 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 more§impl From<u32> for RefreshCnt
impl From<u32> for RefreshCnt
§fn from(val: u32) -> RefreshCnt
fn from(val: u32) -> RefreshCnt
Converts to this type from the input type.
§impl Ord for RefreshCnt
impl Ord for RefreshCnt
§impl PartialEq for RefreshCnt
impl PartialEq for RefreshCnt
§impl PartialOrd for RefreshCnt
impl PartialOrd for RefreshCnt
impl Copy for RefreshCnt
impl Eq for RefreshCnt
impl StructuralPartialEq for RefreshCnt
Auto Trait Implementations§
impl Freeze for RefreshCnt
impl RefUnwindSafe for RefreshCnt
impl Send for RefreshCnt
impl Sync for RefreshCnt
impl Unpin for RefreshCnt
impl UnwindSafe for RefreshCnt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)