pub struct StreamHeader<'a> {
pub offset: u32,
pub stream_size: u32,
pub name: Cow<'a, str>,
}Fields§
§offset: u32§stream_size: u32§name: Cow<'a, str>Implementations§
Source§impl<'a> StreamHeader<'a>
impl<'a> StreamHeader<'a>
pub fn from_reader(r: &mut DataReader<'a>) -> Result<Self>
Trait Implementations§
Source§impl<'a> Clone for StreamHeader<'a>
impl<'a> Clone for StreamHeader<'a>
Auto Trait Implementations§
impl<'a> Freeze for StreamHeader<'a>
impl<'a> RefUnwindSafe for StreamHeader<'a>
impl<'a> Send for StreamHeader<'a>
impl<'a> Sync for StreamHeader<'a>
impl<'a> Unpin for StreamHeader<'a>
impl<'a> UnsafeUnpin for StreamHeader<'a>
impl<'a> UnwindSafe for StreamHeader<'a>
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