Struct parity_wasm::builder::SignaturesBuilder
source · pub struct SignaturesBuilder<F = Identity> { /* private fields */ }
Expand description
Multiple signatures builder
Implementations§
source§impl<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
source§impl<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