pub struct ByteWriter {
pub buf: Vec<u8>,
}Expand description
Append-only byte buffer with LEB128 varints.
Fields§
§buf: Vec<u8>The bytes written so far.
Implementations§
Source§impl ByteWriter
impl ByteWriter
Trait Implementations§
Source§impl Clone for ByteWriter
impl Clone for ByteWriter
Source§impl Debug for ByteWriter
impl Debug for ByteWriter
Auto Trait Implementations§
impl Freeze for ByteWriter
impl RefUnwindSafe for ByteWriter
impl Send for ByteWriter
impl Sync for ByteWriter
impl Unpin for ByteWriter
impl UnsafeUnpin for ByteWriter
impl UnwindSafe for ByteWriter
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