Struct quick_protobuf::writer::BytesWriter
source · pub struct BytesWriter<'a> { /* private fields */ }
Expand description
A writer backend for byte buffers
Implementations§
source§impl<'a> BytesWriter<'a>
impl<'a> BytesWriter<'a>
sourcepub fn new(buf: &'a mut [u8]) -> BytesWriter<'a>
pub fn new(buf: &'a mut [u8]) -> BytesWriter<'a>
Create a new BytesWriter to write into buf
Trait Implementations§
source§impl<'a> WriterBackend for BytesWriter<'a>
impl<'a> WriterBackend for BytesWriter<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BytesWriter<'a>
impl<'a> Send for BytesWriter<'a>
impl<'a> Sync for BytesWriter<'a>
impl<'a> Unpin for BytesWriter<'a>
impl<'a> !UnwindSafe for BytesWriter<'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