Struct midi_file::core::MonoModeOnValue
source · pub struct MonoModeOnValue { /* private fields */ }
Implementations§
source§impl MonoModeOnValue
impl MonoModeOnValue
sourcepub fn mono_mode_channels(&self) -> MonoModeChannels
pub fn mono_mode_channels(&self) -> MonoModeChannels
A getter for the mono_mode_channels
field.
Trait Implementations§
source§impl Clone for MonoModeOnValue
impl Clone for MonoModeOnValue
source§fn clone(&self) -> MonoModeOnValue
fn clone(&self) -> MonoModeOnValue
Returns a copy of the value. Read more
1.0.0 · 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 MonoModeOnValue
impl Debug for MonoModeOnValue
source§impl Default for MonoModeOnValue
impl Default for MonoModeOnValue
source§fn default() -> MonoModeOnValue
fn default() -> MonoModeOnValue
Returns the “default value” for a type. Read more
source§impl Hash for MonoModeOnValue
impl Hash for MonoModeOnValue
source§impl Ord for MonoModeOnValue
impl Ord for MonoModeOnValue
source§fn cmp(&self, other: &MonoModeOnValue) -> Ordering
fn cmp(&self, other: &MonoModeOnValue) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MonoModeOnValue
impl PartialEq for MonoModeOnValue
source§fn eq(&self, other: &MonoModeOnValue) -> bool
fn eq(&self, other: &MonoModeOnValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MonoModeOnValue
impl PartialOrd for MonoModeOnValue
source§fn partial_cmp(&self, other: &MonoModeOnValue) -> Option<Ordering>
fn partial_cmp(&self, other: &MonoModeOnValue) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for MonoModeOnValue
impl Eq for MonoModeOnValue
impl StructuralEq for MonoModeOnValue
impl StructuralPartialEq for MonoModeOnValue
Auto Trait Implementations§
impl RefUnwindSafe for MonoModeOnValue
impl Send for MonoModeOnValue
impl Sync for MonoModeOnValue
impl Unpin for MonoModeOnValue
impl UnwindSafe for MonoModeOnValue
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