pub struct RwFile<'a> { /* private fields */ }
Implementations§
Source§impl<'a> RwFile<'a>
impl<'a> RwFile<'a>
pub fn new(buffer: &'a [u8]) -> Self
pub fn read_section_header(&mut self) -> Result<RwSectionHeader>
pub fn get_stream(&mut self) -> &mut ByteStream<'a>
Auto Trait Implementations§
impl<'a> Freeze for RwFile<'a>
impl<'a> RefUnwindSafe for RwFile<'a>
impl<'a> Send for RwFile<'a>
impl<'a> Sync for RwFile<'a>
impl<'a> Unpin for RwFile<'a>
impl<'a> UnwindSafe for RwFile<'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