Struct can_bittiming_const

#[repr(C)]
pub struct can_bittiming_const { pub name: [c_char; 16], pub tseg1_min: u32, pub tseg1_max: u32, pub tseg2_min: u32, pub tseg2_max: u32, pub sjw_max: u32, pub brp_min: u32, pub brp_max: u32, pub brp_inc: u32 }

Fields

name: [c_char; 16]
tseg1_min: u32
tseg1_max: u32
tseg2_min: u32
tseg2_max: u32
sjw_max: u32
brp_min: u32
brp_max: u32
brp_inc: u32

Trait Implementations

impl Clone for can_bittiming_const

fn clone(&self) -> can_bittiming_const

impl Copy for can_bittiming_const

impl Debug for can_bittiming_const

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

impl Eq for can_bittiming_const

impl Hash for can_bittiming_const

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

impl PartialEq for can_bittiming_const

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

impl StructuralPartialEq for can_bittiming_const

Auto Trait Implementations

impl Freeze for can_bittiming_const

impl RefUnwindSafe for can_bittiming_const

impl Send for can_bittiming_const

impl Sync for can_bittiming_const

impl Unpin for can_bittiming_const

impl UnsafeUnpin for can_bittiming_const

impl UnwindSafe for can_bittiming_const

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for can_bittiming_const

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for can_bittiming_const 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_bittiming_const where U: Into<T>,

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

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

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