Struct can_bittiming

#[repr(C)]
pub struct can_bittiming { pub bitrate: u32, pub sample_point: u32, pub tq: u32, pub prop_seg: u32, pub phase_seg1: u32, pub phase_seg2: u32, pub sjw: u32, pub brp: u32 }

Fields

bitrate: u32
sample_point: u32
tq: u32
prop_seg: u32
phase_seg1: u32
phase_seg2: u32
sjw: u32
brp: u32

Trait Implementations

impl Clone for can_bittiming

fn clone(&self) -> can_bittiming

impl Copy for can_bittiming

impl Debug for can_bittiming

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

impl Eq for can_bittiming

impl Hash for can_bittiming

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

impl PartialEq for can_bittiming

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

impl StructuralPartialEq for can_bittiming

Auto Trait Implementations

impl Freeze for can_bittiming

impl RefUnwindSafe for can_bittiming

impl Send for can_bittiming

impl Sync for can_bittiming

impl Unpin for can_bittiming

impl UnsafeUnpin for can_bittiming

impl UnwindSafe for can_bittiming

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for can_bittiming

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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