#[non_exhaustive]#[repr(i32)]pub enum PresetType {
Invalid = -1,
Binary = 0,
Idx = 1,
Max = 2,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PresetType
impl Clone for PresetType
Source§fn clone(&self) -> PresetType
fn clone(&self) -> PresetType
Returns a duplicate of the value. Read more
1.0.0 · 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 PresetType
impl Debug for PresetType
Source§impl Hash for PresetType
impl Hash for PresetType
Source§impl PartialEq for PresetType
impl PartialEq for PresetType
impl Copy 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