Trait wireplumber::plugin::SimplePlugin
source · pub trait SimplePlugin: ObjectSubclass {
type Args;
// Required method
fn decode_args(args: Option<Variant>) -> Result<Self::Args, Error>;
// Provided methods
fn instance_ref(&self) -> BorrowedObject<'_, Self::Type> { ... }
fn init_args(&self, args: Self::Args) { ... }
fn new_plugin(core: &Core, args: Self::Args) -> Self::Type
where Self::Type: IsA<GObject> { ... }
}
Required Associated Types§
Required Methods§
Provided Methods§
fn instance_ref(&self) -> BorrowedObject<'_, Self::Type>
fn init_args(&self, args: Self::Args)
fn new_plugin(core: &Core, args: Self::Args) -> Self::Type
Object Safety§
This trait is not object safe.