#[repr(u8)]pub enum TimeCodeType {
Fps24 = 0,
Fps25 = 1,
Fps30DropFrame = 2,
Fps30NonDrop = 3,
}
Expand description
Possible time code types of a MIDI Time Code Quarter Frame message.
Variants§
Trait Implementations§
Source§impl Clone for TimeCodeType
impl Clone for TimeCodeType
Source§fn clone(&self) -> TimeCodeType
fn clone(&self) -> TimeCodeType
Returns a duplicate 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 TimeCodeType
impl Debug for TimeCodeType
Source§impl From<TimeCodeType> for u8
impl From<TimeCodeType> for u8
Source§fn from(enum_value: TimeCodeType) -> Self
fn from(enum_value: TimeCodeType) -> Self
Converts to this type from the input type.
Source§impl Hash for TimeCodeType
impl Hash for TimeCodeType
Source§impl Ord for TimeCodeType
impl Ord for TimeCodeType
Source§fn cmp(&self, other: &TimeCodeType) -> Ordering
fn cmp(&self, other: &TimeCodeType) -> 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 TimeCodeType
impl PartialEq for TimeCodeType
Source§impl PartialOrd for TimeCodeType
impl PartialOrd for TimeCodeType
Source§impl TryFrom<u8> for TimeCodeType
impl TryFrom<u8> for TimeCodeType
Source§type Error = TryFromPrimitiveError<TimeCodeType>
type Error = TryFromPrimitiveError<TimeCodeType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for TimeCodeType
impl TryFromPrimitive for TimeCodeType
impl Copy for TimeCodeType
impl Eq for TimeCodeType
impl StructuralPartialEq for TimeCodeType
Auto Trait Implementations§
impl Freeze for TimeCodeType
impl RefUnwindSafe for TimeCodeType
impl Send for TimeCodeType
impl Sync for TimeCodeType
impl Unpin for TimeCodeType
impl UnwindSafe for TimeCodeType
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