pub struct SecondVcuTestMessage(/* private fields */);Implementations§
Source§impl SecondVcuTestMessage
impl SecondVcuTestMessage
Sourcepub const fn with_one_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_one_checked(self, value: u16) -> Result<Self, ()>
Bits: 0..14
Sourcepub const fn with_two_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_two_checked(self, value: u8) -> Result<Self, ()>
Bits: 14..16
Sourcepub const fn with_three_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_three_checked(self, value: u8) -> Result<Self, ()>
Bits: 16..18
Sourcepub const fn with_three(self, value: u8) -> Self
pub const fn with_three(self, value: u8) -> Self
Bits: 16..18
Sourcepub const fn with_four_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_four_checked(self, value: bool) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_five_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_five_checked(self, value: u8) -> Result<Self, ()>
Bits: 19..25
Sourcepub const fn with_six_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_six_checked(self, value: u32) -> Result<Self, ()>
Bits: 25..48
Trait Implementations§
Source§impl Clone for SecondVcuTestMessage
impl Clone for SecondVcuTestMessage
Source§fn clone(&self) -> SecondVcuTestMessage
fn clone(&self) -> SecondVcuTestMessage
Returns a duplicate 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 Debug for SecondVcuTestMessage
impl Debug for SecondVcuTestMessage
Source§impl Default for SecondVcuTestMessage
impl Default for SecondVcuTestMessage
Source§impl From<SecondVcuTestMessage> for u64
impl From<SecondVcuTestMessage> for u64
Source§fn from(v: SecondVcuTestMessage) -> Self
fn from(v: SecondVcuTestMessage) -> Self
Converts to this type from the input type.
Source§impl From<u64> for SecondVcuTestMessage
impl From<u64> for SecondVcuTestMessage
Source§impl ToCanFrame for SecondVcuTestMessage
impl ToCanFrame for SecondVcuTestMessage
impl Copy for SecondVcuTestMessage
Auto Trait Implementations§
impl Freeze for SecondVcuTestMessage
impl RefUnwindSafe for SecondVcuTestMessage
impl Send for SecondVcuTestMessage
impl Sync for SecondVcuTestMessage
impl Unpin for SecondVcuTestMessage
impl UnwindSafe for SecondVcuTestMessage
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