pub enum SimpleElements {
SampleBankA,
SampleBankB,
SampleBankC,
FxClear,
Swear,
GlobalColour,
LogoX,
}
Variants
SampleBankA
SampleBankB
SampleBankC
FxClear
Swear
GlobalColour
LogoX
Trait Implementations
sourceimpl Clone for SimpleElements
impl Clone for SimpleElements
sourcefn clone(&self) -> SimpleElements
fn clone(&self) -> SimpleElements
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SimpleElements
impl Debug for SimpleElements
sourceimpl Display for SimpleElements
impl Display for SimpleElements
sourceimpl Enum for SimpleElements
impl Enum for SimpleElements
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<V> EnumArray<V> for SimpleElements
impl<V> EnumArray<V> for SimpleElements
sourceimpl FromStr for SimpleElements
impl FromStr for SimpleElements
sourceimpl IntoEnumIterator for SimpleElements
impl IntoEnumIterator for SimpleElements
type Iterator = SimpleElementsIter
fn iter() -> SimpleElementsIterⓘNotable traits for SimpleElementsIterimpl Iterator for SimpleElementsIter type Item = SimpleElements;
sourceimpl TryFrom<&'_ str> for SimpleElements
impl TryFrom<&'_ str> for SimpleElements
impl Copy for SimpleElements
Auto Trait Implementations
impl RefUnwindSafe for SimpleElements
impl Send for SimpleElements
impl Sync for SimpleElements
impl Unpin for SimpleElements
impl UnwindSafe for SimpleElements
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