Type Alias wasm_name_t

Source
pub type wasm_name_t = wasm_byte_vec_t;

Aliased Type§

struct wasm_name_t { /* private fields */ }

Implementations

Source§

impl wasm_byte_vec_t

Source

pub fn set_buffer(&mut self, buffer: Vec<u8>)

Source

pub fn as_slice(&self) -> &[u8]

Source

pub fn as_uninit_slice(&mut self) -> &mut [MaybeUninit<u8>]

Source

pub fn take(&mut self) -> Vec<u8>

Trait Implementations

Source§

impl Clone for wasm_byte_vec_t

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Drop for wasm_byte_vec_t

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl From<Vec<u8>> for wasm_byte_vec_t

Source§

fn from(vec: Vec<u8>) -> Self

Converts to this type from the input type.