Struct makepad_wasm_bridge::WasmDataU8
source · [−]pub struct WasmDataU8(_);
Implementations
sourceimpl WasmDataU8
impl WasmDataU8
pub fn new_and_release_ownership(capacity: usize) -> u32
pub fn take_ownership(ptr: u32, len: u32, cap: u32) -> Self
pub fn from_vec_u8(v: Vec<u8>) -> Self
pub fn into_vec_u8(self) -> Vec<u8>
Trait Implementations
sourceimpl FromWasm for WasmDataU8
impl FromWasm for WasmDataU8
fn from_wasm_js_body(
out: &mut WasmJSOutput,
slot: usize,
_is_recur: bool,
prop: &str,
_temp: usize
)
fn from_wasm_inner(self, out: &mut FromWasmMsg)
fn type_name() -> &'static str
fn live_id() -> LiveId
fn write_from_wasm(self, out: &mut FromWasmMsg)where
Self: Sized,
fn from_wasm_js_reuse(wrapper: &mut String)
fn to_string() -> String
fn from_wasm_js_inner(wrapper: &mut String, reuse_arg: bool)
sourceimpl ToWasm for WasmDataU8
impl ToWasm for WasmDataU8
Auto Trait Implementations
impl RefUnwindSafe for WasmDataU8
impl Send for WasmDataU8
impl Sync for WasmDataU8
impl Unpin for WasmDataU8
impl UnwindSafe for WasmDataU8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more