pub struct PluginInfo {
pub descriptor: Descriptor,
pub format: String,
pub params: Vec<ParamInfo>,
pub audio_inputs: Vec<PortInfo>,
pub audio_outputs: Vec<PortInfo>,
pub note_inputs: Vec<NotePortInfo>,
pub note_outputs: Vec<NotePortInfo>,
pub main_in_channels: u32,
pub main_out_channels: u32,
pub has_state: bool,
pub has_presets: bool,
}Expand description
Everything ferraus needs after instantiation.
Fields§
§descriptor: Descriptor§format: Stringclap or vst3.
params: Vec<ParamInfo>§audio_inputs: Vec<PortInfo>§audio_outputs: Vec<PortInfo>§note_inputs: Vec<NotePortInfo>§note_outputs: Vec<NotePortInfo>§main_in_channels: u32Channels of the main input/output port: the ones carried in shared memory.
main_out_channels: u32§has_state: bool§has_presets: boolImplementations§
Source§impl PluginInfo
impl PluginInfo
pub fn accepts_notes(&self) -> bool
Trait Implementations§
Source§impl Clone for PluginInfo
impl Clone for PluginInfo
Source§impl Debug for PluginInfo
impl Debug for PluginInfo
Source§impl Default for PluginInfo
impl Default for PluginInfo
Source§impl<'de> Deserialize<'de> for PluginInfo
impl<'de> Deserialize<'de> for PluginInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PluginInfo
impl PartialEq for PluginInfo
Source§impl Serialize for PluginInfo
impl Serialize for PluginInfo
impl StructuralPartialEq for PluginInfo
Auto Trait Implementations§
impl Forget for PluginInfo
impl Freeze for PluginInfo
impl Move for PluginInfo
impl RefUnwindSafe for PluginInfo
impl Send for PluginInfo
impl Sync for PluginInfo
impl Unpin for PluginInfo
impl UnsafeUnpin for PluginInfo
impl UnwindSafe for PluginInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more