pub struct MetaBucket {
pub type_byte: u8,
pub data: Vec<u8>,
}Expand description
A raw meta event: its type byte plus payload bytes.
The meta_view helpers interpret common buckets such as
text, track name, marker, and SMPTE offset.
Fields§
§type_byte: u8MIDI meta type byte.
data: Vec<u8>Raw payload bytes.
Trait Implementations§
Source§impl Clone for MetaBucket
impl Clone for MetaBucket
Source§fn clone(&self) -> MetaBucket
fn clone(&self) -> MetaBucket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetaBucket
impl Debug for MetaBucket
impl Eq for MetaBucket
Source§impl Hash for MetaBucket
impl Hash for MetaBucket
Source§impl PartialEq for MetaBucket
impl PartialEq for MetaBucket
Source§fn eq(&self, other: &MetaBucket) -> bool
fn eq(&self, other: &MetaBucket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetaBucket
Auto Trait Implementations§
impl Freeze for MetaBucket
impl RefUnwindSafe for MetaBucket
impl Send for MetaBucket
impl Sync for MetaBucket
impl Unpin for MetaBucket
impl UnsafeUnpin for MetaBucket
impl UnwindSafe for MetaBucket
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