Struct ofx::PluginContext
source · pub struct PluginContext { /* private fields */ }Implementations
sourceimpl PluginContext
impl PluginContext
pub fn get_host(&self) -> HostHandle
pub fn num_threads(&self) -> Result<u32>
pub fn run_in_threads<R>(
&self,
n_threads: UnsignedInt,
runnable: &mut R
) -> Result<()>where
R: Runnable,
Auto Trait Implementations
impl RefUnwindSafe for PluginContext
impl !Send for PluginContext
impl !Sync for PluginContext
impl Unpin for PluginContext
impl UnwindSafe for PluginContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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