[−][src]Struct wac::Sink
Implementations
impl Sink
[src]
pub fn new() -> Rc<Self>
[src]
pub fn spawn(&self) -> Rc<Sink>
[src]
pub fn writeln<S: AsRef<str>>(&self, s: S)
[src]
pub fn write<S: Into<String>>(&self, s: S)
[src]
pub fn write_escaped_bytes<B: AsRef<[u8]>>(&self, bb: B)
[src]
pub fn get(&self) -> String
[src]
impl Sink
[src]
methods that correspond to webassembly constructs
pub fn data_directive(&self, ptr: WasmPtr, data: &[u8])
[src]
pub fn memory_directive(&self, page_count: usize)
[src]
pub fn global(&self, type_: WasmType, name: &str, value: i64)
[src]
pub fn global_mut(&self, type_: WasmType, name: &str, value: i64)
[src]
pub fn i32_sub(&self)
[src]
pub fn i32_const(&self, value: i32)
[src]
pub fn i64_const(&self, value: i64)
[src]
pub fn f32_const(&self, value: f32)
[src]
pub fn f64_const(&self, value: f64)
[src]
pub fn drop_(&self)
[src]
pub fn unreachable(&self)
[src]
pub fn f32_convert_i32_s(&self)
[src]
pub fn i32_reinterpret_f32(&self)
[src]
pub fn i32_trunc_f32_s(&self)
[src]
pub fn call(&self, name: &str)
[src]
pub fn local_get(&self, name: &str)
[src]
pub fn local_set(&self, name: &str)
[src]
pub fn local_tee(&self, name: &str)
[src]
pub fn global_get(&self, name: &str)
[src]
pub fn global_set(&self, name: &str)
[src]
pub fn global_tee(&self, name: &str)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Sink
impl !Send for Sink
impl !Sync for Sink
impl Unpin for Sink
impl !UnwindSafe for Sink
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,