Struct parity_wasm::builder::SignaturesBuilder
source · [−]pub struct SignaturesBuilder<F = Identity> { /* private fields */ }
Expand description
Multiple signatures builder
Implementations
sourceimpl<F> SignaturesBuilder<F>
impl<F> SignaturesBuilder<F>
sourcepub fn with_callback(callback: F) -> Self
pub fn with_callback(callback: F) -> Self
New builder chained with specified callback
sourcepub fn with_signature(self, signature: Signature) -> Self
pub fn with_signature(self, signature: Signature) -> Self
Push new signature into the builder output
sourcepub fn type_ref(self) -> TypeRefBuilder<Self>
pub fn type_ref(self) -> TypeRefBuilder<Self>
Start building new signature with TypeRefBuilder
sourceimpl<F> SignaturesBuilder<F> where
F: Invoke<Vec<Signature>>,
impl<F> SignaturesBuilder<F> where
F: Invoke<Vec<Signature>>,
sourcepub fn signature(self) -> SignatureBuilder<Self>
pub fn signature(self) -> SignatureBuilder<Self>
Start building new signature with dedicated builder
sourceimpl<F> SignaturesBuilder<F> where
F: Invoke<FunctionSection>,
impl<F> SignaturesBuilder<F> where
F: Invoke<FunctionSection>,
sourceimpl<F> SignaturesBuilder<F> where
F: Invoke<Vec<Signature>>,
impl<F> SignaturesBuilder<F> where
F: Invoke<Vec<Signature>>,
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for SignaturesBuilder<F> where
F: RefUnwindSafe,
impl<F> Send for SignaturesBuilder<F> where
F: Send,
impl<F> Sync for SignaturesBuilder<F> where
F: Sync,
impl<F> Unpin for SignaturesBuilder<F> where
F: Unpin,
impl<F> UnwindSafe for SignaturesBuilder<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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