Struct Gain Plugin
pub struct GainPlugin;Expand description
The exported product.
Trait Implementations§
§impl PluginExport for GainPlugin
impl PluginExport for GainPlugin
§const PRODUCT: Product<'static>
const PRODUCT: Product<'static>
The product description. It is validated when a host creates the plug-in.
type Processor = GainProcessor
§fn create() -> GainProcessor
fn create() -> GainProcessor
Create an unprepared processor. Called on the main thread.
§fn migrate_state(_saved: &mut SavedState) -> Result<(), StateError>
fn migrate_state(_saved: &mut SavedState) -> Result<(), StateError>
Update state saved by an earlier product state version.
§fn import_state(_bytes: &[u8]) -> Option<SavedState>
fn import_state(_bytes: &[u8]) -> Option<SavedState>
Convert state without the RAVET envelope, for example from an earlier framework.
§fn editor_message(_data: &Value) -> Option<Value>
fn editor_message(_data: &Value) -> Option<Value>
Handle a product-channel message from the editor on the main thread.
A returned value is sent back to the editor as a
product message.Auto Trait Implementations§
impl Freeze for GainPlugin
impl RefUnwindSafe for GainPlugin
impl Send for GainPlugin
impl Sync for GainPlugin
impl Unpin for GainPlugin
impl UnsafeUnpin for GainPlugin
impl UnwindSafe for GainPlugin
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more