pub(crate) enum PresetType {
BoolSetting(BoolSettingIndex),
OtherPreset(PresetIndex),
}
Variants§
BoolSetting(BoolSettingIndex)
OtherPreset(PresetIndex)
Trait Implementations§
source§impl From<BoolSettingIndex> for PresetType
impl From<BoolSettingIndex> for PresetType
source§fn from(bool_setting_index: BoolSettingIndex) -> Self
fn from(bool_setting_index: BoolSettingIndex) -> Self
Converts to this type from the input type.
source§impl From<PresetIndex> for PresetType
impl From<PresetIndex> for PresetType
source§fn from(value: PresetIndex) -> Self
fn from(value: PresetIndex) -> Self
Converts to this type from the input type.
source§impl Hash for PresetType
impl Hash for PresetType
source§impl PartialEq for PresetType
impl PartialEq for PresetType
impl Eq for PresetType
impl StructuralPartialEq for PresetType
Auto Trait Implementations§
impl Freeze for PresetType
impl RefUnwindSafe for PresetType
impl Send for PresetType
impl Sync for PresetType
impl Unpin for PresetType
impl UnwindSafe for PresetType
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