pub struct ScannedPlugin {
pub id: String,
pub name: String,
pub vendor: String,
pub version: String,
pub description: String,
pub format: PluginFormat,
pub path: PathBuf,
pub features: Vec<String>,
pub kind: String,
pub category: Option<String>,
pub source: String,
}Expand description
One plugin found by a scan.
Fields§
§id: String§name: String§vendor: String§version: String§description: String§format: PluginFormat§path: PathBufThe bundle (.clap / .vst3 file or directory).
features: Vec<String>§kind: Stringinstrument, audio-effect, note-effect, analyzer, other, or unknown.
category: Option<String>§source: StringWhere the metadata came from: probe, moduleinfo, or bundle (name only).
Implementations§
Source§impl ScannedPlugin
impl ScannedPlugin
pub fn is_instrument(&self) -> bool
pub fn is_effect(&self) -> bool
pub fn plugin_ref(&self) -> PluginRef
Trait Implementations§
Source§impl Clone for ScannedPlugin
impl Clone for ScannedPlugin
Source§impl Debug for ScannedPlugin
impl Debug for ScannedPlugin
Source§impl<'de> Deserialize<'de> for ScannedPlugin
impl<'de> Deserialize<'de> for ScannedPlugin
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 ScannedPlugin
impl PartialEq for ScannedPlugin
Source§impl Serialize for ScannedPlugin
impl Serialize for ScannedPlugin
impl StructuralPartialEq for ScannedPlugin
Auto Trait Implementations§
impl Forget for ScannedPlugin
impl Freeze for ScannedPlugin
impl Move for ScannedPlugin
impl RefUnwindSafe for ScannedPlugin
impl Send for ScannedPlugin
impl Sync for ScannedPlugin
impl Unpin for ScannedPlugin
impl UnsafeUnpin for ScannedPlugin
impl UnwindSafe for ScannedPlugin
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