Struct clap_sys::ext::timer_support::clap_host_timer_support
source · [−]#[repr(C)]pub struct clap_host_timer_support {
pub register_timer: unsafe extern "C" fn(host: *const clap_host, period_ms: u32, timer_id: *mut clap_id) -> bool,
pub unregister_timer: unsafe extern "C" fn(host: *const clap_host, timer_id: clap_id) -> bool,
}Fields
register_timer: unsafe extern "C" fn(host: *const clap_host, period_ms: u32, timer_id: *mut clap_id) -> boolunregister_timer: unsafe extern "C" fn(host: *const clap_host, timer_id: clap_id) -> boolTrait Implementations
sourceimpl Clone for clap_host_timer_support
impl Clone for clap_host_timer_support
sourcefn clone(&self) -> clap_host_timer_support
fn clone(&self) -> clap_host_timer_support
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 clap_host_timer_support
Auto Trait Implementations
impl RefUnwindSafe for clap_host_timer_support
impl Send for clap_host_timer_support
impl Sync for clap_host_timer_support
impl Unpin for clap_host_timer_support
impl UnwindSafe for clap_host_timer_support
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