pub enum SnapshotMetadataGlobal {
I32(i32),
I64(i64),
F32(f32),
F64(f64),
V128(Nat),
}Expand description
§An exported global variable.
Variants§
I32(i32)
A 32-bit integer.
I64(i64)
A 64-bit integer.
F32(f32)
A 32-bit floating point number.
F64(f64)
A 64-bit floating point number.
V128(Nat)
A 128-bit integer.
Trait Implementations§
Source§impl CandidType for SnapshotMetadataGlobal
impl CandidType for SnapshotMetadataGlobal
Source§impl Clone for SnapshotMetadataGlobal
impl Clone for SnapshotMetadataGlobal
Source§fn clone(&self) -> SnapshotMetadataGlobal
fn clone(&self) -> SnapshotMetadataGlobal
Returns a duplicate 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 Debug for SnapshotMetadataGlobal
impl Debug for SnapshotMetadataGlobal
Source§impl<'de> Deserialize<'de> for SnapshotMetadataGlobal
impl<'de> Deserialize<'de> for SnapshotMetadataGlobal
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnapshotMetadataGlobal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnapshotMetadataGlobal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SnapshotMetadataGlobal
impl Serialize for SnapshotMetadataGlobal
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SnapshotMetadataGlobal
impl RefUnwindSafe for SnapshotMetadataGlobal
impl Send for SnapshotMetadataGlobal
impl Sync for SnapshotMetadataGlobal
impl Unpin for SnapshotMetadataGlobal
impl UnwindSafe for SnapshotMetadataGlobal
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