Struct bcm_msg_head
#[repr(C)]
pub struct bcm_msg_head { pub opcode: u32, pub flags: u32, pub count: u32, pub ival1: bcm_timeval, pub ival2: bcm_timeval, pub can_id: canid_t, pub nframes: u32, pub frames: [can_frame; 0] }
Fields
opcode: u32flags: u32count: u32ival1: bcm_timevalival2: bcm_timevalcan_id: canid_tnframes: u32frames: [can_frame; 0]
Trait Implementations
impl Clone for bcm_msg_head
fn clone(&self) -> bcm_msg_head
impl Copy for bcm_msg_head
impl Debug for bcm_msg_head
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for bcm_msg_head
impl Hash for bcm_msg_head
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for bcm_msg_head
fn eq(&self, other: &bcm_msg_head) -> bool
impl StructuralPartialEq for bcm_msg_head
Auto Trait Implementations
impl Freeze for bcm_msg_head
impl RefUnwindSafe for bcm_msg_head
impl Send for bcm_msg_head
impl Sync for bcm_msg_head
impl Unpin for bcm_msg_head
impl UnsafeUnpin for bcm_msg_head
impl UnwindSafe for bcm_msg_head
Blanket Implementations
impl<T> Any for bcm_msg_head
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for bcm_msg_head
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for bcm_msg_head
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for bcm_msg_head
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for bcm_msg_head
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for bcm_msg_head
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 bcm_msg_head
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for bcm_msg_head
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>