Struct can_clock

#[repr(C)]
pub struct can_clock { pub freq: u32 }

Fields

freq: u32

Trait Implementations

impl Clone for can_clock

fn clone(&self) -> can_clock

impl Copy for can_clock

impl Debug for can_clock

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

impl Eq for can_clock

impl Hash for can_clock

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

impl PartialEq for can_clock

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

impl StructuralPartialEq for can_clock

Auto Trait Implementations

impl Freeze for can_clock

impl RefUnwindSafe for can_clock

impl Send for can_clock

impl Sync for can_clock

impl Unpin for can_clock

impl UnsafeUnpin for can_clock

impl UnwindSafe for can_clock

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for can_clock

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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