[−][src]Struct parity_wasm::builder::SignatureBuilder
Signature builder
Methods
impl SignatureBuilder[src]
impl SignatureBuilderimpl<F> SignatureBuilder<F> where
F: Invoke<FunctionType>, [src]
impl<F> SignatureBuilder<F> where
F: Invoke<FunctionType>, pub fn with_callback(callback: F) -> Self[src]
pub fn with_callback(callback: F) -> SelfNew builder with callback function specified
pub fn with_param(self, value_type: ValueType) -> Self[src]
pub fn with_param(self, value_type: ValueType) -> SelfAdd argument to signature builder
pub fn with_params(self, value_types: Vec<ValueType>) -> Self[src]
pub fn with_params(self, value_types: Vec<ValueType>) -> SelfAdd multiple arguments to signature builder
pub fn with_return_type(self, return_type: Option<ValueType>) -> Self[src]
pub fn with_return_type(self, return_type: Option<ValueType>) -> SelfOverride signature return type
pub fn param(self) -> ValueTypeBuilder<Self>[src]
pub fn param(self) -> ValueTypeBuilder<Self>Start build new argument
pub fn params(self) -> ValueTypesBuilder<Self>[src]
pub fn params(self) -> ValueTypesBuilder<Self>Start build multiple arguments
pub fn return_type(self) -> OptionalValueTypeBuilder<Self>[src]
pub fn return_type(self) -> OptionalValueTypeBuilder<Self>Start building return type
pub fn build(self) -> F::Result[src]
pub fn build(self) -> F::ResultFinish current builder
pub fn build_sig(self) -> Signature[src]
pub fn build_sig(self) -> SignatureFinish current builder returning intermediate Signature struct
Auto Trait Implementations
impl<F> Send for SignatureBuilder<F> where
F: Send,
impl<F> Send for SignatureBuilder<F> where
F: Send, impl<F> Sync for SignatureBuilder<F> where
F: Sync,
impl<F> Sync for SignatureBuilder<F> where
F: Sync, Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>,