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