Struct surge_traits::imports::PitchBendRange
source · [−]pub struct PitchBendRange(pub f32);
Tuple Fields
0: f32
Trait Implementations
sourceimpl Add<PitchBendRange> for PitchBendRange
impl Add<PitchBendRange> for PitchBendRange
type Output = PitchBendRange
type Output = PitchBendRange
The resulting type after applying the +
operator.
sourcefn add(
self,
x: PitchBendRange
) -> <PitchBendRange as Add<PitchBendRange>>::Output
fn add(
self,
x: PitchBendRange
) -> <PitchBendRange as Add<PitchBendRange>>::Output
Performs the +
operation. Read more
sourceimpl Clone for PitchBendRange
impl Clone for PitchBendRange
sourcefn clone(&self) -> PitchBendRange
fn clone(&self) -> PitchBendRange
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 PitchBendRange
impl Debug for PitchBendRange
sourceimpl Div<PitchBendRange> for PitchBendRange
impl Div<PitchBendRange> for PitchBendRange
type Output = PitchBendRange
type Output = PitchBendRange
The resulting type after applying the /
operator.
sourcefn div(
self,
x: PitchBendRange
) -> <PitchBendRange as Div<PitchBendRange>>::Output
fn div(
self,
x: PitchBendRange
) -> <PitchBendRange as Div<PitchBendRange>>::Output
Performs the /
operation. Read more
sourceimpl Mul<PitchBendRange> for PitchBendRange
impl Mul<PitchBendRange> for PitchBendRange
type Output = PitchBendRange
type Output = PitchBendRange
The resulting type after applying the *
operator.
sourcefn mul(
self,
x: PitchBendRange
) -> <PitchBendRange as Mul<PitchBendRange>>::Output
fn mul(
self,
x: PitchBendRange
) -> <PitchBendRange as Mul<PitchBendRange>>::Output
Performs the *
operation. Read more
sourceimpl PartialEq<PitchBendRange> for PitchBendRange
impl PartialEq<PitchBendRange> for PitchBendRange
sourcefn eq(&self, other: &PitchBendRange) -> bool
fn eq(&self, other: &PitchBendRange) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PitchBendRange) -> bool
fn ne(&self, other: &PitchBendRange) -> bool
This method tests for !=
.
sourceimpl PartialOrd<PitchBendRange> for PitchBendRange
impl PartialOrd<PitchBendRange> for PitchBendRange
sourcefn partial_cmp(&self, other: &PitchBendRange) -> Option<Ordering>
fn partial_cmp(&self, other: &PitchBendRange) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Sub<PitchBendRange> for PitchBendRange
impl Sub<PitchBendRange> for PitchBendRange
type Output = PitchBendRange
type Output = PitchBendRange
The resulting type after applying the -
operator.
sourcefn sub(
self,
x: PitchBendRange
) -> <PitchBendRange as Sub<PitchBendRange>>::Output
fn sub(
self,
x: PitchBendRange
) -> <PitchBendRange as Sub<PitchBendRange>>::Output
Performs the -
operation. Read more
impl Copy for PitchBendRange
impl StructuralPartialEq for PitchBendRange
Auto Trait Implementations
impl RefUnwindSafe for PitchBendRange
impl Send for PitchBendRange
impl Sync for PitchBendRange
impl Unpin for PitchBendRange
impl UnwindSafe for PitchBendRange
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more