pub struct PluginSnapshot {
pub class_id: String,
pub scale_factor: f64,
pub path: PathBuf,
}Expand description
A pre-rendered VST3 plug-in UI snapshot.
Fields§
§class_id: StringCurrent canonical audio-processor class id represented by the image.
scale_factor: f64Display scale factor (1.0 for the unscaled snapshot).
path: PathBufSnapshot PNG path inside the VST3 bundle.
Trait Implementations§
Source§impl Clone for PluginSnapshot
impl Clone for PluginSnapshot
Source§fn clone(&self) -> PluginSnapshot
fn clone(&self) -> PluginSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginSnapshot
impl Debug for PluginSnapshot
Source§impl Default for PluginSnapshot
impl Default for PluginSnapshot
Source§fn default() -> PluginSnapshot
fn default() -> PluginSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginSnapshot
impl<'de> Deserialize<'de> for PluginSnapshot
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 PluginSnapshot
impl PartialEq for PluginSnapshot
Source§impl Serialize for PluginSnapshot
impl Serialize for PluginSnapshot
impl StructuralPartialEq for PluginSnapshot
Auto Trait Implementations§
impl Freeze for PluginSnapshot
impl RefUnwindSafe for PluginSnapshot
impl Send for PluginSnapshot
impl Sync for PluginSnapshot
impl Unpin for PluginSnapshot
impl UnsafeUnpin for PluginSnapshot
impl UnwindSafe for PluginSnapshot
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