pub struct ScratchPresetDescriptor {
pub preset: ScratchPreset,
pub id: u8,
pub name: &'static str,
pub default_clicks: u8,
pub uses_clicks: bool,
pub uses_manual_crossfader: bool,
}Expand description
Stable catalog data for native and Web hosts.
Fields§
§preset: ScratchPreset§id: u8§name: &'static str§default_clicks: u8§uses_clicks: bool§uses_manual_crossfader: boolTrait Implementations§
Source§impl Clone for ScratchPresetDescriptor
impl Clone for ScratchPresetDescriptor
Source§fn clone(&self) -> ScratchPresetDescriptor
fn clone(&self) -> ScratchPresetDescriptor
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 ScratchPresetDescriptor
Source§impl Debug for ScratchPresetDescriptor
impl Debug for ScratchPresetDescriptor
impl Eq for ScratchPresetDescriptor
Source§impl PartialEq for ScratchPresetDescriptor
impl PartialEq for ScratchPresetDescriptor
Source§impl Serialize for ScratchPresetDescriptor
impl Serialize for ScratchPresetDescriptor
impl StructuralPartialEq for ScratchPresetDescriptor
Auto Trait Implementations§
impl Freeze for ScratchPresetDescriptor
impl RefUnwindSafe for ScratchPresetDescriptor
impl Send for ScratchPresetDescriptor
impl Sync for ScratchPresetDescriptor
impl Unpin for ScratchPresetDescriptor
impl UnsafeUnpin for ScratchPresetDescriptor
impl UnwindSafe for ScratchPresetDescriptor
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