multiversx_sc_snippets::imports

Trait ManagedBufferBuilderImpl

Source
pub trait ManagedBufferBuilderImpl<M>
where M: ManagedTypeApi,
{ // Required methods 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>); }

Required Methods§

Source

fn new_from_slice(slice: &[u8]) -> Self

Source

fn into_managed_buffer(self) -> ManagedBuffer<M>

Source

fn append_bytes(&mut self, bytes: &[u8])

Source

fn append_managed_buffer(&mut self, item: &ManagedBuffer<M>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§