pub struct Track { /* private fields */ }Trait Implementations§
Source§impl DiskStruct for Track
impl DiskStruct for Track
Source§fn update_from_bytes(&mut self, _bytes: &[u8]) -> Result<(), DiskStructError>
fn update_from_bytes(&mut self, _bytes: &[u8]) -> Result<(), DiskStructError>
update a structure from a byte stream, OK to use on trait objects
Source§fn from_bytes(bytes: &[u8]) -> Result<Self, DiskStructError>where
Self: Sized,
fn from_bytes(bytes: &[u8]) -> Result<Self, DiskStructError>where
Self: Sized,
create a structure from a byte stream, requires concrete type
Source§fn from_bytes_adv(
bytes: &[u8],
ptr: &mut usize,
) -> Result<Self, DiskStructError>where
Self: Sized,
fn from_bytes_adv(
bytes: &[u8],
ptr: &mut usize,
) -> Result<Self, DiskStructError>where
Self: Sized,
convenience function to call
from_bytes and increment ptr by len()Auto Trait Implementations§
impl Freeze for Track
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnsafeUnpin for Track
impl UnwindSafe for Track
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