Struct parity_wasm_cp::builder::GlobalBuilder[][src]

pub struct GlobalBuilder<F = Identity> { /* fields omitted */ }

Global builder

Methods

impl GlobalBuilder
[src]

New global builder

impl<F> GlobalBuilder<F>
[src]

New global builder with callback (in chained context)

Set/override resulting global type

Set mutabilty to true

Set initialization expression instruction for this global (end instruction will be added automatically)

Start value type builder

impl<F> GlobalBuilder<F> where
    F: Invoke<GlobalEntry>, 
[src]

Finalize current builder spawning resulting struct

Auto Trait Implementations

impl<F> Send for GlobalBuilder<F> where
    F: Send

impl<F> Sync for GlobalBuilder<F> where
    F: Sync