Expand description
Wrapper around an output buffer.
Bytes will be written starting at dst[pos]
.
pos
will be updated after writing.
Fields
dst: &'a mut [u8]
pos: usize
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for OutBuffer<'a>
impl<'a> Send for OutBuffer<'a>
impl<'a> Sync for OutBuffer<'a>
impl<'a> Unpin for OutBuffer<'a>
impl<'a> !UnwindSafe for OutBuffer<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more