pub struct PitchRange {
pub min: Option<Pitch>,
pub max: Option<Pitch>,
}Expand description
The range a realization keeps; either bound may be open.
Fields§
§min: Option<Pitch>The lowest pitch kept.
max: Option<Pitch>The highest pitch kept.
Implementations§
Trait Implementations§
Source§impl Clone for PitchRange
impl Clone for PitchRange
Source§impl Debug for PitchRange
impl Debug for PitchRange
Auto Trait Implementations§
impl Forget for PitchRange
impl Freeze for PitchRange
impl Move for PitchRange
impl RefUnwindSafe for PitchRange
impl Send for PitchRange
impl Sync for PitchRange
impl Unpin for PitchRange
impl UnsafeUnpin for PitchRange
impl UnwindSafe for PitchRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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