pub struct HostParams<'a> { /* private fields */ }
Implementations§
Source§impl<'a> HostParams<'a>
impl<'a> HostParams<'a>
Sourcepub fn request_flush(&self)
pub fn request_flush(&self)
Request a parameter flush.
The host will then schedule a call to either:
- clap_plugin.process()
- clap_plugin_params.flush()
This function is always safe to use and should not be called from an audio-thread as the plugin would already be within process() or flush().
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HostParams<'a>
impl<'a> RefUnwindSafe for HostParams<'a>
impl<'a> Send for HostParams<'a>
impl<'a> Sync for HostParams<'a>
impl<'a> Unpin for HostParams<'a>
impl<'a> UnwindSafe for HostParams<'a>
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