pub struct Pointer(/* private fields */);Implementations§
Source§impl Pointer
impl Pointer
pub fn new( slot: Slot, tx_index: TransactionIndex, cert_index: CertificateIndex, ) -> Self
Sourcepub fn cert_index(&self) -> Slot
pub fn cert_index(&self) -> Slot
This will be truncated if above u64::MAX
Trait Implementations§
Source§impl FromWasmAbi for Pointer
impl FromWasmAbi for Pointer
Source§impl IntoWasmAbi for Pointer
impl IntoWasmAbi for Pointer
Source§impl LongRefFromWasmAbi for Pointer
impl LongRefFromWasmAbi for Pointer
Source§impl OptionFromWasmAbi for Pointer
impl OptionFromWasmAbi for Pointer
Source§impl OptionIntoWasmAbi for Pointer
impl OptionIntoWasmAbi for Pointer
Source§impl RefFromWasmAbi for Pointer
impl RefFromWasmAbi for Pointer
Source§impl RefMutFromWasmAbi for Pointer
impl RefMutFromWasmAbi for Pointer
Source§impl TryFromJsValue for Pointer
impl TryFromJsValue for Pointer
Source§impl VectorFromWasmAbi for Pointer
impl VectorFromWasmAbi for Pointer
Source§impl VectorIntoWasmAbi for Pointer
impl VectorIntoWasmAbi for Pointer
impl SupportsConstructor for Pointer
impl SupportsInstanceProperty for Pointer
impl SupportsStaticProperty for Pointer
Auto Trait Implementations§
impl Freeze for Pointer
impl RefUnwindSafe for Pointer
impl Send for Pointer
impl Sync for Pointer
impl Unpin for Pointer
impl UnwindSafe for Pointer
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§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.