pub enum PresetScope {
Factory,
User,
Pack,
}Expand description
Where a preset lives. Factory presets sit inside the plugin
bundle, written at install time; User presets live in the
per-OS user directory; Pack presets came from a third-party
drop-in under the user root’s packs/ subdirectory.
Variants§
Trait Implementations§
Source§impl Clone for PresetScope
impl Clone for PresetScope
Source§fn clone(&self) -> PresetScope
fn clone(&self) -> PresetScope
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 moreimpl Copy for PresetScope
Source§impl Debug for PresetScope
impl Debug for PresetScope
impl Eq for PresetScope
Source§impl PartialEq for PresetScope
impl PartialEq for PresetScope
Source§fn eq(&self, other: &PresetScope) -> bool
fn eq(&self, other: &PresetScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PresetScope
Auto Trait Implementations§
impl Freeze for PresetScope
impl RefUnwindSafe for PresetScope
impl Send for PresetScope
impl Sync for PresetScope
impl Unpin for PresetScope
impl UnsafeUnpin for PresetScope
impl UnwindSafe for PresetScope
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