pub struct V6Part {
pub id: u8,
pub amount: u32,
pub blocks: Vec<V6Block>,
}Fields§
§id: u8§amount: u32§blocks: Vec<V6Block>Trait Implementations§
impl Eq for V6Part
Source§impl Part for V6Part
impl Part for V6Part
type Block = V6Block
fn id(&self) -> u8
fn amount(&self) -> u32
fn blocks(&self) -> Vec<Self::Block>
fn from_data(id: u8, amount: u32, blocks: Vec<Self::Block>) -> Self
fn decode_header(data: &[u8], offset: &mut usize) -> Option<(u8, u32)>
fn encode_header(&self, data: &mut Vec<u8>)
fn decode( data: &[u8], offset: &mut usize, meta: <<Self::Block as Block>::Track as Track>::Metadata, ) -> Option<Self>
fn encode( &self, data: &mut Vec<u8>, meta: <<Self::Block as Block>::Track as Track>::Metadata, )
impl StructuralPartialEq for V6Part
Auto Trait Implementations§
impl Freeze for V6Part
impl RefUnwindSafe for V6Part
impl Send for V6Part
impl Sync for V6Part
impl Unpin for V6Part
impl UnsafeUnpin for V6Part
impl UnwindSafe for V6Part
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.