pub struct V2Track {
pub parts: Vec<V2Part>,
}Fields§
§parts: Vec<V2Part>Trait Implementations§
impl Eq for V2Track
impl StructuralPartialEq for V2Track
Source§impl Track for V2Track
impl Track for V2Track
type Part = V2Part
type Metadata = ()
type TrackInfo = ()
fn meta(&self) -> Self::Metadata
fn parts(&self) -> Vec<Self::Part>
fn decode_meta(_: &[u8], _: &mut usize) -> Option<Self::Metadata>
fn encode_meta(&self, _: &mut Vec<u8>)
fn from_data(_: Self::Metadata, parts: Vec<Self::Part>) -> Self
fn decode_track_code( track_code: &str, ) -> Option<(String, Self::TrackInfo, Vec<u8>)>
fn encode_track_code( name: String, _: Self::TrackInfo, track_data: &[u8], ) -> Option<String>
Auto Trait Implementations§
impl Freeze for V2Track
impl RefUnwindSafe for V2Track
impl Send for V2Track
impl Sync for V2Track
impl Unpin for V2Track
impl UnsafeUnpin for V2Track
impl UnwindSafe for V2Track
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.