Struct raspberry_pi_sys::libbcm_host::VCOS_TIMER_T
source · [−]#[repr(C)]pub struct VCOS_TIMER_T {
pub thread: pthread_t,
pub lock: pthread_mutex_t,
pub settings_changed: pthread_cond_t,
pub quit: c_int,
pub expires: timespec,
pub orig_expiration_routine: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub orig_context: *mut c_void,
}Fields
thread: pthread_tlock: pthread_mutex_tsettings_changed: pthread_cond_tquit: c_intexpires: timespecorig_expiration_routine: Option<unsafe extern "C" fn(arg1: *mut c_void)>orig_context: *mut c_voidTrait Implementations
sourceimpl Clone for VCOS_TIMER_T
impl Clone for VCOS_TIMER_T
sourcefn clone(&self) -> VCOS_TIMER_T
fn clone(&self) -> VCOS_TIMER_T
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for VCOS_TIMER_T
Auto Trait Implementations
impl RefUnwindSafe for VCOS_TIMER_T
impl !Send for VCOS_TIMER_T
impl !Sync for VCOS_TIMER_T
impl Unpin for VCOS_TIMER_T
impl UnwindSafe for VCOS_TIMER_T
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more