Enum midi_msg::TimeCodeType
source · pub enum TimeCodeType {
FPS24 = 0,
FPS25 = 1,
DF30 = 2,
NDF30 = 3,
}
Expand description
Indicates the frame rate of the given TimeCode
.
Variants§
FPS24 = 0
24 Frames per second
FPS25 = 1
25 Frames per second
DF30 = 2
30 Frames per second, Drop Frame
NDF30 = 3
30 Frames per second, Non-Drop Frame
Trait Implementations§
source§impl Clone for TimeCodeType
impl Clone for TimeCodeType
source§fn clone(&self) -> TimeCodeType
fn clone(&self) -> TimeCodeType
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 TimeCodeType
impl Debug for TimeCodeType
source§impl Default for TimeCodeType
impl Default for TimeCodeType
source§impl PartialEq for TimeCodeType
impl PartialEq for TimeCodeType
source§fn eq(&self, other: &TimeCodeType) -> bool
fn eq(&self, other: &TimeCodeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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