pub struct StrettoTransform {
pub form: ContrapuntalForm,
pub transposition: i32,
pub duration_factor: Ratio<i64>,
}Expand description
One reusable transform request for a stretto entry.
Fields§
§form: ContrapuntalFormContrapuntal pitch/time form.
transposition: i32Chromatic transposition applied after the form.
duration_factor: Ratio<i64>Positive exact duration factor.
Implementations§
Source§impl StrettoTransform
impl StrettoTransform
Sourcepub fn original(transposition: i32) -> StrettoTransform
pub fn original(transposition: i32) -> StrettoTransform
Original form at one chromatic transposition.
Trait Implementations§
Source§impl Clone for StrettoTransform
impl Clone for StrettoTransform
Source§fn clone(&self) -> StrettoTransform
fn clone(&self) -> StrettoTransform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StrettoTransform
impl Debug for StrettoTransform
impl Eq for StrettoTransform
Source§impl PartialEq for StrettoTransform
impl PartialEq for StrettoTransform
impl StructuralPartialEq for StrettoTransform
Auto Trait Implementations§
impl Freeze for StrettoTransform
impl RefUnwindSafe for StrettoTransform
impl Send for StrettoTransform
impl Sync for StrettoTransform
impl Unpin for StrettoTransform
impl UnsafeUnpin for StrettoTransform
impl UnwindSafe for StrettoTransform
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more