#[repr(transparent)]pub struct RxdFrameconfig(pub u32);
Expand description
Configuration of incoming frames
Tuple Fields§
§0: u32
Implementations§
Source§impl RxdFrameconfig
impl RxdFrameconfig
Sourcepub fn set_parity(&mut self, val: bool)
pub fn set_parity(&mut self, val: bool)
Indicates if parity expected in RX frame
Sourcepub fn set_crcmoderx(&mut self, val: bool)
pub fn set_crcmoderx(&mut self, val: bool)
CRC mode for incoming frames
Trait Implementations§
Source§impl Clone for RxdFrameconfig
impl Clone for RxdFrameconfig
Source§fn clone(&self) -> RxdFrameconfig
fn clone(&self) -> RxdFrameconfig
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 RxdFrameconfig
impl Default for RxdFrameconfig
Source§fn default() -> RxdFrameconfig
fn default() -> RxdFrameconfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for RxdFrameconfig
impl PartialEq for RxdFrameconfig
impl Copy for RxdFrameconfig
impl Eq for RxdFrameconfig
impl StructuralPartialEq for RxdFrameconfig
Auto Trait Implementations§
impl Freeze for RxdFrameconfig
impl RefUnwindSafe for RxdFrameconfig
impl Send for RxdFrameconfig
impl Sync for RxdFrameconfig
impl Unpin for RxdFrameconfig
impl UnwindSafe for RxdFrameconfig
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
)