Struct cml_chain_wasm::byron::utils::ProtocolMagic
source · pub struct ProtocolMagic(/* private fields */);Implementations§
Trait Implementations§
source§impl AsRef<ProtocolMagic> for ProtocolMagic
impl AsRef<ProtocolMagic> for ProtocolMagic
source§fn as_ref(&self) -> &ProtocolMagic
fn as_ref(&self) -> &ProtocolMagic
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ProtocolMagic
impl Clone for ProtocolMagic
source§fn clone(&self) -> ProtocolMagic
fn clone(&self) -> ProtocolMagic
Returns a copy 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 From<ProtocolMagic> for JsValue
impl From<ProtocolMagic> for JsValue
source§fn from(value: ProtocolMagic) -> Self
fn from(value: ProtocolMagic) -> Self
Converts to this type from the input type.
source§impl From<ProtocolMagic> for ProtocolMagic
impl From<ProtocolMagic> for ProtocolMagic
source§fn from(wasm: ProtocolMagic) -> Self
fn from(wasm: ProtocolMagic) -> Self
Converts to this type from the input type.
source§impl From<ProtocolMagic> for ProtocolMagic
impl From<ProtocolMagic> for ProtocolMagic
source§fn from(native: ProtocolMagic) -> Self
fn from(native: ProtocolMagic) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for ProtocolMagic
impl FromWasmAbi for ProtocolMagic
source§impl IntoWasmAbi for ProtocolMagic
impl IntoWasmAbi for ProtocolMagic
source§impl OptionFromWasmAbi for ProtocolMagic
impl OptionFromWasmAbi for ProtocolMagic
source§impl OptionIntoWasmAbi for ProtocolMagic
impl OptionIntoWasmAbi for ProtocolMagic
source§impl RefFromWasmAbi for ProtocolMagic
impl RefFromWasmAbi for ProtocolMagic
§type Anchor = Ref<'static, ProtocolMagic>
type Anchor = Ref<'static, ProtocolMagic>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§impl RefMutFromWasmAbi for ProtocolMagic
impl RefMutFromWasmAbi for ProtocolMagic
impl Copy for ProtocolMagic
Auto Trait Implementations§
impl RefUnwindSafe for ProtocolMagic
impl Send for ProtocolMagic
impl Sync for ProtocolMagic
impl Unpin for ProtocolMagic
impl UnwindSafe for ProtocolMagic
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
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.