pub struct MemOutfile { /* private fields */ }Expand description
In-memory output stream that grows as data is written — port of
mem_outfile.
Implementations§
Source§impl MemOutfile
impl MemOutfile
Sourcepub fn with_capacity(cap: usize) -> Self
pub fn with_capacity(cap: usize) -> Self
Creates a memory output stream with pre-allocated capacity.
Trait Implementations§
Source§impl Default for MemOutfile
impl Default for MemOutfile
Auto Trait Implementations§
impl Freeze for MemOutfile
impl RefUnwindSafe for MemOutfile
impl Send for MemOutfile
impl Sync for MemOutfile
impl Unpin for MemOutfile
impl UnsafeUnpin for MemOutfile
impl UnwindSafe for MemOutfile
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