Enum goxlr_profile_loader::components::megaphone::Preset
source · [−]pub enum Preset {
Preset1,
Preset2,
Preset3,
Preset4,
Preset5,
Preset6,
}
Variants
Preset1
Preset2
Preset3
Preset4
Preset5
Preset6
Trait Implementations
sourceimpl Enum for Preset
impl Enum for Preset
sourcefn from_usize(value: usize) -> Self
fn from_usize(value: usize) -> Self
Takes an usize, and returns an element matching into_usize
function.
sourcefn into_usize(self) -> usize
fn into_usize(self) -> usize
Returns an unique identifier for a value within range of 0..Array::LENGTH
.
sourceimpl IntoEnumIterator for Preset
impl IntoEnumIterator for Preset
type Iterator = PresetIter
fn iter() -> PresetIterⓘNotable traits for PresetIterimpl Iterator for PresetIter type Item = Preset;
impl Copy for Preset
Auto Trait Implementations
impl RefUnwindSafe for Preset
impl Send for Preset
impl Sync for Preset
impl Unpin for Preset
impl UnwindSafe for Preset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more