pub struct ManagedBufferBuilderImplBasic<M>where
M: ManagedTypeApi,{ /* private fields */ }
Expand description
Basic implementation of a ManagedBuffer builder, no caching.
It is the ManagedBuffer itself, we just append to it each time.
Trait Implementations§
Source§impl<M> ManagedBufferBuilderImpl<M> for ManagedBufferBuilderImplBasic<M>where
M: ManagedTypeApi,
impl<M> ManagedBufferBuilderImpl<M> for ManagedBufferBuilderImplBasic<M>where
M: ManagedTypeApi,
fn new_from_slice(slice: &[u8]) -> Self
fn into_managed_buffer(self) -> ManagedBuffer<M>
fn append_bytes(&mut self, bytes: &[u8])
fn append_managed_buffer(&mut self, item: &ManagedBuffer<M>)
Auto Trait Implementations§
impl<M> Freeze for ManagedBufferBuilderImplBasic<M>
impl<M> RefUnwindSafe for ManagedBufferBuilderImplBasic<M>
impl<M> Send for ManagedBufferBuilderImplBasic<M>
impl<M> Sync for ManagedBufferBuilderImplBasic<M>
impl<M> Unpin for ManagedBufferBuilderImplBasic<M>
impl<M> UnwindSafe for ManagedBufferBuilderImplBasic<M>
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