Struct helgoboss_midi::U7
source · [−]pub struct U7(_);
Expand description
A 7-bit integer (0 - 127).
Implementations
Trait Implementations
sourceimpl From<ControllerNumber> for U7
impl From<ControllerNumber> for U7
sourcefn from(value: ControllerNumber) -> Self
fn from(value: ControllerNumber) -> Self
Converts to this type from the input type.
sourceimpl From<TimeCodeQuarterFrame> for U7
impl From<TimeCodeQuarterFrame> for U7
sourcefn from(frame: TimeCodeQuarterFrame) -> Self
fn from(frame: TimeCodeQuarterFrame) -> Self
Converts to this type from the input type.
sourceimpl From<U7> for TimeCodeQuarterFrame
impl From<U7> for TimeCodeQuarterFrame
sourceimpl From<U7> for ControllerNumber
impl From<U7> for ControllerNumber
sourceimpl Ord for U7
impl Ord for U7
sourceimpl PartialOrd<U7> for U7
impl PartialOrd<U7> for U7
sourcefn partial_cmp(&self, other: &U7) -> Option<Ordering>
fn partial_cmp(&self, other: &U7) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for U7
impl Eq for U7
impl StructuralEq for U7
impl StructuralPartialEq for U7
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more