Struct TxdFrameconfig
#[repr(transparent)]pub struct TxdFrameconfig(pub u32);
Expand description
Configuration of outgoing frames
Tuple Fields§
§0: u32
Implementations§
§impl TxdFrameconfig
impl TxdFrameconfig
pub fn set_parity(&mut self, val: bool)
pub fn set_parity(&mut self, val: bool)
Indicates if parity is added to the frame
pub const fn discardmode(&self) -> Discardmode
pub const fn discardmode(&self) -> Discardmode
Discarding unused bits at start or end of a frame
pub fn set_discardmode(&mut self, val: Discardmode)
pub fn set_discardmode(&mut self, val: Discardmode)
Discarding unused bits at start or end of a frame
pub fn set_crcmodetx(&mut self, val: bool)
pub fn set_crcmodetx(&mut self, val: bool)
CRC mode for outgoing frames
Trait Implementations§
§impl Clone for TxdFrameconfig
impl Clone for TxdFrameconfig
§fn clone(&self) -> TxdFrameconfig
fn clone(&self) -> TxdFrameconfig
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 Default for TxdFrameconfig
impl Default for TxdFrameconfig
§fn default() -> TxdFrameconfig
fn default() -> TxdFrameconfig
Returns the “default value” for a type. Read more
§impl PartialEq for TxdFrameconfig
impl PartialEq for TxdFrameconfig
impl Copy for TxdFrameconfig
impl Eq for TxdFrameconfig
impl StructuralPartialEq for TxdFrameconfig
Auto Trait Implementations§
impl Freeze for TxdFrameconfig
impl RefUnwindSafe for TxdFrameconfig
impl Send for TxdFrameconfig
impl Sync for TxdFrameconfig
impl Unpin for TxdFrameconfig
impl UnwindSafe for TxdFrameconfig
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
)