Struct can_frame
#[repr(C, align(8))]
pub struct can_frame { pub can_id: canid_t, pub can_dlc: u8, pub len8_dlc: u8, pub data: [u8; 8], /* private fields */ }
Fields
can_id: canid_tcan_dlc: u8len8_dlc: u8data: [u8; 8]
Trait Implementations
impl Clone for can_frame
fn clone(&self) -> can_frame
impl Copy for can_frame
impl Debug for can_frame
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for can_frame
impl Hash for can_frame
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for can_frame
fn eq(&self, other: &can_frame) -> bool
impl StructuralPartialEq for can_frame
Auto Trait Implementations
impl Freeze for can_frame
impl RefUnwindSafe for can_frame
impl Send for can_frame
impl Sync for can_frame
impl Unpin for can_frame
impl UnsafeUnpin for can_frame
impl UnwindSafe for can_frame
Blanket Implementations
impl<T> Any for can_frame
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for can_frame
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for can_frame
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for can_frame
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for can_frame
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for can_frame
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for can_frame
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for can_frame
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>