pub struct RegisterRange {
pub low: Pitch,
pub high: Pitch,
pub tie: RegisterTie,
}Expand description
Inclusive semitone bounds and tie policy for register unwrapping.
Fields§
§low: PitchLowest allowed pitch.
high: PitchHighest allowed pitch.
tie: RegisterTieDirection chosen for equally near candidates.
Trait Implementations§
Source§impl Clone for RegisterRange
impl Clone for RegisterRange
Source§fn clone(&self) -> RegisterRange
fn clone(&self) -> RegisterRange
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 moreimpl Copy for RegisterRange
Source§impl Debug for RegisterRange
impl Debug for RegisterRange
impl Eq for RegisterRange
Source§impl PartialEq for RegisterRange
impl PartialEq for RegisterRange
impl StructuralPartialEq for RegisterRange
Auto Trait Implementations§
impl Freeze for RegisterRange
impl RefUnwindSafe for RegisterRange
impl Send for RegisterRange
impl Sync for RegisterRange
impl Unpin for RegisterRange
impl UnsafeUnpin for RegisterRange
impl UnwindSafe for RegisterRange
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