pub struct AbiParameter { /* private fields */ }
Implementations§
Source§impl AbiParameter
impl AbiParameter
pub fn components<T>(self, value: T) -> Self
pub fn internal_type<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for AbiParameter
impl Clone for AbiParameter
Source§fn clone(&self) -> AbiParameter
fn clone(&self) -> AbiParameter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AbiParameter
impl Debug for AbiParameter
Source§impl Default for AbiParameter
impl Default for AbiParameter
Source§impl From<AbiParameter> for AbiParameter
impl From<AbiParameter> for AbiParameter
Source§fn from(value: AbiParameter) -> Self
fn from(value: AbiParameter) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AbiParameter> for AbiParameter
impl TryFrom<AbiParameter> for AbiParameter
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AbiParameter) -> Result<Self, ConversionError>
fn try_from(value: AbiParameter) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AbiParameter
impl RefUnwindSafe for AbiParameter
impl Send for AbiParameter
impl Sync for AbiParameter
impl Unpin for AbiParameter
impl UnwindSafe for AbiParameter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more