#[non_exhaustive]pub enum Gain {
Gain1_6 = 0,
Gain1_5 = 1,
Gain1_4 = 2,
Gain1_3 = 3,
Gain1_2 = 4,
Gain1 = 5,
Gain2 = 6,
Gain4 = 7,
}Expand description
Gain control
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.
Gain1_6 = 0
1/6
Gain1_5 = 1
1/5
Gain1_4 = 2
1/4
Gain1_3 = 3
1/3
Gain1_2 = 4
1/2
Gain1 = 5
1
Gain2 = 6
2
Gain4 = 7
4
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gain
impl RefUnwindSafe for Gain
impl Send for Gain
impl Sync for Gain
impl Unpin for Gain
impl UnsafeUnpin for Gain
impl UnwindSafe for Gain
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