LTCFrame

Struct LTCFrame 

Source
#[repr(C, align(4))]
pub struct LTCFrame { pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 10]>, pub __bindgen_padding_0: u16, }

Fields§

§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 10]>§__bindgen_padding_0: u16

Implementations§

Source§

impl LTCFrame

Source

pub fn frame_units(&self) -> c_uint

Source

pub fn set_frame_units(&mut self, val: c_uint)

Source

pub fn user1(&self) -> c_uint

Source

pub fn set_user1(&mut self, val: c_uint)

Source

pub fn frame_tens(&self) -> c_uint

Source

pub fn set_frame_tens(&mut self, val: c_uint)

Source

pub fn dfbit(&self) -> c_uint

Source

pub fn set_dfbit(&mut self, val: c_uint)

Source

pub fn col_frame(&self) -> c_uint

Source

pub fn set_col_frame(&mut self, val: c_uint)

Source

pub fn user2(&self) -> c_uint

Source

pub fn set_user2(&mut self, val: c_uint)

Source

pub fn secs_units(&self) -> c_uint

Source

pub fn set_secs_units(&mut self, val: c_uint)

Source

pub fn user3(&self) -> c_uint

Source

pub fn set_user3(&mut self, val: c_uint)

Source

pub fn secs_tens(&self) -> c_uint

Source

pub fn set_secs_tens(&mut self, val: c_uint)

Source

pub fn biphase_mark_phase_correction(&self) -> c_uint

Source

pub fn set_biphase_mark_phase_correction(&mut self, val: c_uint)

Source

pub fn user4(&self) -> c_uint

Source

pub fn set_user4(&mut self, val: c_uint)

Source

pub fn mins_units(&self) -> c_uint

Source

pub fn set_mins_units(&mut self, val: c_uint)

Source

pub fn user5(&self) -> c_uint

Source

pub fn set_user5(&mut self, val: c_uint)

Source

pub fn mins_tens(&self) -> c_uint

Source

pub fn set_mins_tens(&mut self, val: c_uint)

Source

pub fn binary_group_flag_bit0(&self) -> c_uint

Source

pub fn set_binary_group_flag_bit0(&mut self, val: c_uint)

Source

pub fn user6(&self) -> c_uint

Source

pub fn set_user6(&mut self, val: c_uint)

Source

pub fn hours_units(&self) -> c_uint

Source

pub fn set_hours_units(&mut self, val: c_uint)

Source

pub fn user7(&self) -> c_uint

Source

pub fn set_user7(&mut self, val: c_uint)

Source

pub fn hours_tens(&self) -> c_uint

Source

pub fn set_hours_tens(&mut self, val: c_uint)

Source

pub fn binary_group_flag_bit1(&self) -> c_uint

Source

pub fn set_binary_group_flag_bit1(&mut self, val: c_uint)

Source

pub fn binary_group_flag_bit2(&self) -> c_uint

Source

pub fn set_binary_group_flag_bit2(&mut self, val: c_uint)

Source

pub fn user8(&self) -> c_uint

Source

pub fn set_user8(&mut self, val: c_uint)

Source

pub fn sync_word(&self) -> c_uint

Source

pub fn set_sync_word(&mut self, val: c_uint)

Source

pub fn new_bitfield_1( frame_units: c_uint, user1: c_uint, frame_tens: c_uint, dfbit: c_uint, col_frame: c_uint, user2: c_uint, secs_units: c_uint, user3: c_uint, secs_tens: c_uint, biphase_mark_phase_correction: c_uint, user4: c_uint, mins_units: c_uint, user5: c_uint, mins_tens: c_uint, binary_group_flag_bit0: c_uint, user6: c_uint, hours_units: c_uint, user7: c_uint, hours_tens: c_uint, binary_group_flag_bit1: c_uint, binary_group_flag_bit2: c_uint, user8: c_uint, sync_word: c_uint, ) -> __BindgenBitfieldUnit<[u8; 10]>

Trait Implementations§

Source§

impl Clone for LTCFrame

Source§

fn clone(&self) -> LTCFrame

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LTCFrame

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Default for LTCFrame

Source§

fn default() -> LTCFrame

Returns the “default value” for a type. Read more
Source§

impl Copy for LTCFrame

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.