#[repr(transparent)]pub struct Encbt(pub u32);Expand description
Enhanced Nominal CAN Bit Timing
Tuple Fields§
§0: u32Implementations§
Source§impl Encbt
impl Encbt
Sourcepub const fn set_ntseg1(&mut self, val: u8)
pub const fn set_ntseg1(&mut self, val: u8)
Nominal Time Segment 1
Sourcepub const fn set_ntseg2(&mut self, val: u8)
pub const fn set_ntseg2(&mut self, val: u8)
Nominal Time Segment 2
Trait Implementations§
impl Copy for Encbt
impl Eq for Encbt
impl StructuralPartialEq for Encbt
Auto Trait Implementations§
impl Freeze for Encbt
impl RefUnwindSafe for Encbt
impl Send for Encbt
impl Sync for Encbt
impl Unpin for Encbt
impl UnwindSafe for Encbt
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