Struct surge_traits::imports::PitchBendValue
source · [−]pub struct PitchBendValue(pub f32);
Tuple Fields
0: f32
Trait Implementations
sourceimpl Add<PitchBendValue> for PitchBendValue
impl Add<PitchBendValue> for PitchBendValue
type Output = PitchBendValue
type Output = PitchBendValue
The resulting type after applying the +
operator.
sourcefn add(
self,
x: PitchBendValue
) -> <PitchBendValue as Add<PitchBendValue>>::Output
fn add(
self,
x: PitchBendValue
) -> <PitchBendValue as Add<PitchBendValue>>::Output
Performs the +
operation. Read more
sourceimpl Clone for PitchBendValue
impl Clone for PitchBendValue
sourcefn clone(&self) -> PitchBendValue
fn clone(&self) -> PitchBendValue
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 PitchBendValue
impl Debug for PitchBendValue
sourceimpl Div<PitchBendValue> for PitchBendValue
impl Div<PitchBendValue> for PitchBendValue
type Output = PitchBendValue
type Output = PitchBendValue
The resulting type after applying the /
operator.
sourcefn div(
self,
x: PitchBendValue
) -> <PitchBendValue as Div<PitchBendValue>>::Output
fn div(
self,
x: PitchBendValue
) -> <PitchBendValue as Div<PitchBendValue>>::Output
Performs the /
operation. Read more
sourceimpl Mul<PitchBendValue> for PitchBendValue
impl Mul<PitchBendValue> for PitchBendValue
type Output = PitchBendValue
type Output = PitchBendValue
The resulting type after applying the *
operator.
sourcefn mul(
self,
x: PitchBendValue
) -> <PitchBendValue as Mul<PitchBendValue>>::Output
fn mul(
self,
x: PitchBendValue
) -> <PitchBendValue as Mul<PitchBendValue>>::Output
Performs the *
operation. Read more
sourceimpl PartialEq<PitchBendValue> for PitchBendValue
impl PartialEq<PitchBendValue> for PitchBendValue
sourcefn eq(&self, other: &PitchBendValue) -> bool
fn eq(&self, other: &PitchBendValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PitchBendValue) -> bool
fn ne(&self, other: &PitchBendValue) -> bool
This method tests for !=
.
sourceimpl PartialOrd<PitchBendValue> for PitchBendValue
impl PartialOrd<PitchBendValue> for PitchBendValue
sourcefn partial_cmp(&self, other: &PitchBendValue) -> Option<Ordering>
fn partial_cmp(&self, other: &PitchBendValue) -> 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<PitchBendValue> for PitchBendValue
impl Sub<PitchBendValue> for PitchBendValue
type Output = PitchBendValue
type Output = PitchBendValue
The resulting type after applying the -
operator.
sourcefn sub(
self,
x: PitchBendValue
) -> <PitchBendValue as Sub<PitchBendValue>>::Output
fn sub(
self,
x: PitchBendValue
) -> <PitchBendValue as Sub<PitchBendValue>>::Output
Performs the -
operation. Read more
impl Copy for PitchBendValue
impl StructuralPartialEq for PitchBendValue
Auto Trait Implementations
impl RefUnwindSafe for PitchBendValue
impl Send for PitchBendValue
impl Sync for PitchBendValue
impl Unpin for PitchBendValue
impl UnwindSafe for PitchBendValue
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