pub struct CompoundInterval { /* private fields */ }Implementations§
Source§impl CompoundInterval
impl CompoundInterval
pub const fn new(simple: SimpleInterval, octaves: u8) -> CompoundInterval
pub const fn simple(self) -> SimpleInterval
pub const fn octaves(self) -> u8
Trait Implementations§
Source§impl Clone for CompoundInterval
impl Clone for CompoundInterval
Source§fn clone(&self) -> CompoundInterval
fn clone(&self) -> CompoundInterval
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 CompoundInterval
impl Debug for CompoundInterval
Source§impl Hash for CompoundInterval
impl Hash for CompoundInterval
Source§impl PartialEq for CompoundInterval
impl PartialEq for CompoundInterval
Source§fn eq(&self, other: &CompoundInterval) -> bool
fn eq(&self, other: &CompoundInterval) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompoundInterval
impl Eq for CompoundInterval
impl StructuralPartialEq for CompoundInterval
Auto Trait Implementations§
impl Freeze for CompoundInterval
impl RefUnwindSafe for CompoundInterval
impl Send for CompoundInterval
impl Sync for CompoundInterval
impl Unpin for CompoundInterval
impl UnsafeUnpin for CompoundInterval
impl UnwindSafe for CompoundInterval
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