Struct iop_keyvault_wasm::JsBip39Phrase
source · [−]pub struct JsBip39Phrase { /* private fields */ }
Expand description
An intermediate object that represents a BIP39 phrase with a known language
Implementations
Trait Implementations
sourceimpl From<Bip39Phrase> for JsBip39Phrase
impl From<Bip39Phrase> for JsBip39Phrase
sourcefn from(inner: Bip39Phrase) -> Self
fn from(inner: Bip39Phrase) -> Self
Converts to this type from the input type.
sourceimpl From<JsBip39Phrase> for JsValue
impl From<JsBip39Phrase> for JsValue
sourcefn from(value: JsBip39Phrase) -> Self
fn from(value: JsBip39Phrase) -> Self
Converts to this type from the input type.
sourceimpl FromWasmAbi for JsBip39Phrase
impl FromWasmAbi for JsBip39Phrase
sourceimpl IntoWasmAbi for JsBip39Phrase
impl IntoWasmAbi for JsBip39Phrase
sourceimpl OptionFromWasmAbi for JsBip39Phrase
impl OptionFromWasmAbi for JsBip39Phrase
sourceimpl OptionIntoWasmAbi for JsBip39Phrase
impl OptionIntoWasmAbi for JsBip39Phrase
sourceimpl RefFromWasmAbi for JsBip39Phrase
impl RefFromWasmAbi for JsBip39Phrase
type Anchor = Ref<'static, JsBip39Phrase>
type Anchor = Ref<'static, JsBip39Phrase>
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. Read more
sourceunsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Recover a Self::Anchor
from Self::Abi
. Read more
sourceimpl RefMutFromWasmAbi for JsBip39Phrase
impl RefMutFromWasmAbi for JsBip39Phrase
type Anchor = RefMut<'static, JsBip39Phrase>
type Anchor = RefMut<'static, JsBip39Phrase>
Same as RefFromWasmAbi::Anchor
sourceunsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as RefFromWasmAbi::ref_from_abi
sourceimpl WasmDescribe for JsBip39Phrase
impl WasmDescribe for JsBip39Phrase
sourceimpl Wraps<Bip39Phrase> for JsBip39Phrase
impl Wraps<Bip39Phrase> for JsBip39Phrase
sourcefn inner(&self) -> &Bip39Phrase
fn inner(&self) -> &Bip39Phrase
Converts a reference to a WASM type to a reference to the underlying Rust type.
Auto Trait Implementations
impl RefUnwindSafe for JsBip39Phrase
impl Send for JsBip39Phrase
impl Sync for JsBip39Phrase
impl Unpin for JsBip39Phrase
impl UnwindSafe for JsBip39Phrase
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
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn 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
. Read more