Struct wasmtime_c_api::wasm_valtype_vec_t
source · #[repr(C)]pub struct wasm_valtype_vec_t { /* private fields */ }
Implementations§
source§impl wasm_valtype_vec_t
impl wasm_valtype_vec_t
pub fn set_buffer(&mut self, buffer: Vec<Option<Box<wasm_valtype_t>>>)
pub fn as_slice(&self) -> &[Option<Box<wasm_valtype_t>>]
pub fn as_uninit_slice( &mut self ) -> &mut [MaybeUninit<Option<Box<wasm_valtype_t>>>]
pub fn take(&mut self) -> Vec<Option<Box<wasm_valtype_t>>>
Trait Implementations§
source§impl Clone for wasm_valtype_vec_t
impl Clone for wasm_valtype_vec_t
source§impl Drop for wasm_valtype_vec_t
impl Drop for wasm_valtype_vec_t
source§impl From<Vec<Option<Box<wasm_valtype_t>>>> for wasm_valtype_vec_t
impl From<Vec<Option<Box<wasm_valtype_t>>>> for wasm_valtype_vec_t
Auto Trait Implementations§
impl Freeze for wasm_valtype_vec_t
impl RefUnwindSafe for wasm_valtype_vec_t
impl !Send for wasm_valtype_vec_t
impl !Sync for wasm_valtype_vec_t
impl Unpin for wasm_valtype_vec_t
impl UnwindSafe for wasm_valtype_vec_t
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