[−][src]Struct parity_wasm::builder::GlobalBuilder
Global builder
Methods
impl GlobalBuilder
[src]
impl<F> GlobalBuilder<F>
[src]
pub fn with_callback(callback: F) -> Self
[src]
New global builder with callback (in chained context)
pub fn with_type(self, value_type: ValueType) -> Self
[src]
Set/override resulting global type
pub fn mutable(self) -> Self
[src]
Set mutabilty to true
pub fn init_expr(self, instruction: Instruction) -> Self
[src]
Set initialization expression instruction for this global (end
instruction will be added automatically)
pub fn value_type(self) -> ValueTypeBuilder<Self>
[src]
Start value type builder
impl<F> GlobalBuilder<F> where
F: Invoke<GlobalEntry>,
[src]
F: Invoke<GlobalEntry>,
Auto Trait Implementations
impl<F> Send for GlobalBuilder<F> where
F: Send,
F: Send,
impl<F> Sync for GlobalBuilder<F> where
F: Sync,
F: Sync,
impl<F> Unpin for GlobalBuilder<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for GlobalBuilder<F> where
F: UnwindSafe,
F: UnwindSafe,
impl<F> RefUnwindSafe for GlobalBuilder<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Rfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut R
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,