pub struct SustainLevel(/* private fields */);
Expand description
A sustain level in the range [0.0, 1.0]
is represented here
Trait Implementations§
Source§impl Clone for SustainLevel
impl Clone for SustainLevel
Source§fn clone(&self) -> SustainLevel
fn clone(&self) -> SustainLevel
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 SustainLevel
impl Debug for SustainLevel
Source§impl From<SustainLevel> for f32
impl From<SustainLevel> for f32
Source§fn from(val: SustainLevel) -> Self
fn from(val: SustainLevel) -> Self
Converts to this type from the input type.
Source§impl From<f32> for SustainLevel
impl From<f32> for SustainLevel
Source§impl PartialEq for SustainLevel
impl PartialEq for SustainLevel
impl Copy for SustainLevel
impl StructuralPartialEq for SustainLevel
Auto Trait Implementations§
impl Freeze for SustainLevel
impl RefUnwindSafe for SustainLevel
impl Send for SustainLevel
impl Sync for SustainLevel
impl Unpin for SustainLevel
impl UnwindSafe for SustainLevel
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