Struct clap_sys::ext::thread_check::clap_host_thread_check
source · [−]#[repr(C)]pub struct clap_host_thread_check {
pub is_main_thread: unsafe extern "C" fn(host: *const clap_host) -> bool,
pub is_audio_thread: unsafe extern "C" fn(host: *const clap_host) -> bool,
}Fields
is_main_thread: unsafe extern "C" fn(host: *const clap_host) -> boolis_audio_thread: unsafe extern "C" fn(host: *const clap_host) -> boolTrait Implementations
sourceimpl Clone for clap_host_thread_check
impl Clone for clap_host_thread_check
sourcefn clone(&self) -> clap_host_thread_check
fn clone(&self) -> clap_host_thread_check
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_thread_check
Auto Trait Implementations
impl RefUnwindSafe for clap_host_thread_check
impl Send for clap_host_thread_check
impl Sync for clap_host_thread_check
impl Unpin for clap_host_thread_check
impl UnwindSafe for clap_host_thread_check
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