#[repr(C)]pub struct wasm_extern_vec_t { /* private fields */ }
Implementations§
Source§impl wasm_extern_vec_t
impl wasm_extern_vec_t
pub fn set_buffer(&mut self, buffer: Vec<Option<Box<wasm_extern_t>>>)
pub fn as_slice(&self) -> &[Option<Box<wasm_extern_t>>]
pub fn as_uninit_slice( &mut self, ) -> &mut [MaybeUninit<Option<Box<wasm_extern_t>>>]
pub fn take(&mut self) -> Vec<Option<Box<wasm_extern_t>>>
Trait Implementations§
Source§impl Clone for wasm_extern_vec_t
impl Clone for wasm_extern_vec_t
Source§impl Drop for wasm_extern_vec_t
impl Drop for wasm_extern_vec_t
Source§impl From<Vec<Option<Box<wasm_extern_t>>>> for wasm_extern_vec_t
impl From<Vec<Option<Box<wasm_extern_t>>>> for wasm_extern_vec_t
Auto Trait Implementations§
impl Freeze for wasm_extern_vec_t
impl !RefUnwindSafe for wasm_extern_vec_t
impl !Send for wasm_extern_vec_t
impl !Sync for wasm_extern_vec_t
impl Unpin for wasm_extern_vec_t
impl !UnwindSafe for wasm_extern_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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)