Struct can_berr_counter

#[repr(C)]
pub struct can_berr_counter { pub txerr: u16, pub rxerr: u16 }

Fields

txerr: u16
rxerr: u16

Trait Implementations

impl Clone for can_berr_counter

fn clone(&self) -> can_berr_counter

impl Copy for can_berr_counter

impl Debug for can_berr_counter

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for can_berr_counter

impl Hash for can_berr_counter

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for can_berr_counter

fn eq(&self, other: &can_berr_counter) -> bool

impl StructuralPartialEq for can_berr_counter

Auto Trait Implementations

impl Freeze for can_berr_counter

impl RefUnwindSafe for can_berr_counter

impl Send for can_berr_counter

impl Sync for can_berr_counter

impl Unpin for can_berr_counter

impl UnsafeUnpin for can_berr_counter

impl UnwindSafe for can_berr_counter

Blanket Implementations

impl<T> Any for can_berr_counter where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for can_berr_counter where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for can_berr_counter where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for can_berr_counter where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for can_berr_counter

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for can_berr_counter where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for can_berr_counter where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for can_berr_counter where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>