Struct alsa_sys::_snd_pcm_audio_tstamp_report
source · #[repr(C)]pub struct _snd_pcm_audio_tstamp_report {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub accuracy: c_uint,
}
Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
§accuracy: c_uint
Implementations§
source§impl _snd_pcm_audio_tstamp_report
impl _snd_pcm_audio_tstamp_report
pub fn valid(&self) -> c_uint
pub fn set_valid(&mut self, val: c_uint)
pub fn actual_type(&self) -> c_uint
pub fn set_actual_type(&mut self, val: c_uint)
pub fn accuracy_report(&self) -> c_uint
pub fn set_accuracy_report(&mut self, val: c_uint)
pub fn new_bitfield_1( valid: c_uint, actual_type: c_uint, accuracy_report: c_uint ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
source§impl Clone for _snd_pcm_audio_tstamp_report
impl Clone for _snd_pcm_audio_tstamp_report
source§fn clone(&self) -> _snd_pcm_audio_tstamp_report
fn clone(&self) -> _snd_pcm_audio_tstamp_report
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for _snd_pcm_audio_tstamp_report
impl Debug for _snd_pcm_audio_tstamp_report
impl Copy for _snd_pcm_audio_tstamp_report
Auto Trait Implementations§
impl RefUnwindSafe for _snd_pcm_audio_tstamp_report
impl Send for _snd_pcm_audio_tstamp_report
impl Sync for _snd_pcm_audio_tstamp_report
impl Unpin for _snd_pcm_audio_tstamp_report
impl UnwindSafe for _snd_pcm_audio_tstamp_report
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more