pub enum Level_type {
Tone_50 = -5,
Tone_100 = -4,
Tone_200 = -3,
Tone_300 = -2,
Tone_400 = -1,
Tone_500 = 0,
Tone_600 = 1,
Tone_700 = 2,
Tone_800 = 3,
Tone_900 = 4,
}
Variants§
Tone_50 = -5
Tone_100 = -4
Tone_200 = -3
Tone_300 = -2
Tone_400 = -1
Tone_500 = 0
Tone_600 = 1
Tone_700 = 2
Tone_800 = 3
Tone_900 = 4
Implementations§
Source§impl Level_type
impl Level_type
pub const Main: Level_type = Level_type::Tone_500
Trait Implementations§
Source§impl Clone for Level_type
impl Clone for Level_type
Source§fn clone(&self) -> Level_type
fn clone(&self) -> Level_type
Returns a copy 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 Level_type
impl Debug for Level_type
Source§impl PartialEq for Level_type
impl PartialEq for Level_type
impl Copy for Level_type
impl StructuralPartialEq for Level_type
Auto Trait Implementations§
impl Freeze for Level_type
impl RefUnwindSafe for Level_type
impl Send for Level_type
impl Sync for Level_type
impl Unpin for Level_type
impl UnwindSafe for Level_type
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