pub enum TextEventKind {
TextEvent = 1,
CopyrightNotice = 2,
TrackName = 3,
InstrumentName = 4,
Lyric = 5,
Marker = 6,
CuePoint = 7,
ProgramName = 8,
DeviceName = 9,
Undefined = 10,
MetaEvent = 127,
}
Variants§
TextEvent = 1
CopyrightNotice = 2
TrackName = 3
InstrumentName = 4
Lyric = 5
Marker = 6
CuePoint = 7
ProgramName = 8
DeviceName = 9
Undefined = 10
MetaEvent = 127
Implementations§
Source§impl TextEventKind
impl TextEventKind
pub fn from_val(val: u8) -> TextEventKind
Trait Implementations§
Source§impl Clone for TextEventKind
impl Clone for TextEventKind
Source§fn clone(&self) -> TextEventKind
fn clone(&self) -> TextEventKind
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 TextEventKind
impl Debug for TextEventKind
Source§impl PartialEq for TextEventKind
impl PartialEq for TextEventKind
impl Copy for TextEventKind
impl StructuralPartialEq for TextEventKind
Auto Trait Implementations§
impl Freeze for TextEventKind
impl RefUnwindSafe for TextEventKind
impl Send for TextEventKind
impl Sync for TextEventKind
impl Unpin for TextEventKind
impl UnwindSafe for TextEventKind
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