Struct wallet_wasm_js::FragmentId
source · pub struct FragmentId(pub(crate) FragmentId);
Expand description
Identifier of a block fragment
Tuple Fields§
§0: FragmentId
Trait Implementations§
source§impl From<FragmentId> for JsValue
impl From<FragmentId> for JsValue
source§fn from(value: FragmentId) -> Self
fn from(value: FragmentId) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for FragmentId
impl FromWasmAbi for FragmentId
source§impl IntoWasmAbi for FragmentId
impl IntoWasmAbi for FragmentId
source§impl LongRefFromWasmAbi for FragmentId
impl LongRefFromWasmAbi for FragmentId
source§impl OptionFromWasmAbi for FragmentId
impl OptionFromWasmAbi for FragmentId
source§impl OptionIntoWasmAbi for FragmentId
impl OptionIntoWasmAbi for FragmentId
source§impl RefFromWasmAbi for FragmentId
impl RefFromWasmAbi for FragmentId
§type Anchor = Ref<'static, FragmentId>
type Anchor = Ref<'static, FragmentId>
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 FragmentId
impl RefMutFromWasmAbi for FragmentId
source§impl WasmDescribe for FragmentId
impl WasmDescribe for FragmentId
Auto Trait Implementations§
impl RefUnwindSafe for FragmentId
impl Send for FragmentId
impl Sync for FragmentId
impl Unpin for FragmentId
impl UnwindSafe for FragmentId
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
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::Abi
source§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
.