pub struct BHEI(/* private fields */);
Expand description
Get current block height.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for BHEI
impl<'de> Deserialize<'de> for BHEI
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BHEI> for Instruction
impl From<BHEI> for Instruction
source§impl FromWasmAbi for BHEI
impl FromWasmAbi for BHEI
source§impl IntoWasmAbi for BHEI
impl IntoWasmAbi for BHEI
source§impl LongRefFromWasmAbi for BHEI
impl LongRefFromWasmAbi for BHEI
source§impl OptionFromWasmAbi for BHEI
impl OptionFromWasmAbi for BHEI
source§impl OptionIntoWasmAbi for BHEI
impl OptionIntoWasmAbi for BHEI
source§impl RefFromWasmAbi for BHEI
impl RefFromWasmAbi for BHEI
source§impl RefMutFromWasmAbi for BHEI
impl RefMutFromWasmAbi for BHEI
source§impl TryFromJsValue for BHEI
impl TryFromJsValue for BHEI
source§impl VectorFromWasmAbi for BHEI
impl VectorFromWasmAbi for BHEI
source§impl VectorIntoWasmAbi for BHEI
impl VectorIntoWasmAbi for BHEI
impl Copy for BHEI
impl Eq for BHEI
impl StructuralPartialEq for BHEI
Auto Trait Implementations§
impl Freeze for BHEI
impl RefUnwindSafe for BHEI
impl Send for BHEI
impl Sync for BHEI
impl Unpin for BHEI
impl UnwindSafe for BHEI
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§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::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
.