#[repr(transparent)]pub struct Frametimeout(pub u32);
Expand description
Set the number of UARTE bits to count before triggering packet timeout.
Tuple Fields§
§0: u32
Implementations§
Source§impl Frametimeout
impl Frametimeout
Sourcepub const fn countertop(&self) -> u16
pub const fn countertop(&self) -> u16
Number of UARTE bits before timeout.
Sourcepub fn set_countertop(&mut self, val: u16)
pub fn set_countertop(&mut self, val: u16)
Number of UARTE bits before timeout.
Trait Implementations§
Source§impl Clone for Frametimeout
impl Clone for Frametimeout
Source§fn clone(&self) -> Frametimeout
fn clone(&self) -> Frametimeout
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 moreSource§impl Default for Frametimeout
impl Default for Frametimeout
Source§fn default() -> Frametimeout
fn default() -> Frametimeout
Returns the “default value” for a type. Read more
Source§impl PartialEq for Frametimeout
impl PartialEq for Frametimeout
impl Copy for Frametimeout
impl Eq for Frametimeout
impl StructuralPartialEq for Frametimeout
Auto Trait Implementations§
impl Freeze for Frametimeout
impl RefUnwindSafe for Frametimeout
impl Send for Frametimeout
impl Sync for Frametimeout
impl Unpin for Frametimeout
impl UnwindSafe for Frametimeout
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
)