pub enum ScEnvMetaEntry {
ScEnvMetaKindInterfaceVersion(u64),
}
Variants
ScEnvMetaKindInterfaceVersion(u64)
Implementations
impl ScEnvMetaEntry
impl ScEnvMetaEntry
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> ScEnvMetaKind
pub const fn variants() -> [ScEnvMetaKind; 1]
Trait Implementations
impl Clone for ScEnvMetaEntry
impl Clone for ScEnvMetaEntry
fn clone(&self) -> ScEnvMetaEntry
fn clone(&self) -> ScEnvMetaEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ScEnvMetaEntry
impl Debug for ScEnvMetaEntry
impl Discriminant<ScEnvMetaKind> for ScEnvMetaEntry
impl Discriminant<ScEnvMetaKind> for ScEnvMetaEntry
fn discriminant(&self) -> ScEnvMetaKind
impl Hash for ScEnvMetaEntry
impl Hash for ScEnvMetaEntry
impl Name for ScEnvMetaEntry
impl Name for ScEnvMetaEntry
impl Ord for ScEnvMetaEntry
impl Ord for ScEnvMetaEntry
fn cmp(&self, other: &ScEnvMetaEntry) -> Ordering
fn cmp(&self, other: &ScEnvMetaEntry) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
impl PartialEq<ScEnvMetaEntry> for ScEnvMetaEntry
impl PartialEq<ScEnvMetaEntry> for ScEnvMetaEntry
fn eq(&self, other: &ScEnvMetaEntry) -> bool
fn eq(&self, other: &ScEnvMetaEntry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl PartialOrd<ScEnvMetaEntry> for ScEnvMetaEntry
impl PartialOrd<ScEnvMetaEntry> for ScEnvMetaEntry
fn partial_cmp(&self, other: &ScEnvMetaEntry) -> Option<Ordering>
fn partial_cmp(&self, other: &ScEnvMetaEntry) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Variants<ScEnvMetaKind> for ScEnvMetaEntry
impl Variants<ScEnvMetaKind> for ScEnvMetaEntry
fn variants() -> Iter<'static, ScEnvMetaKind>
impl Eq for ScEnvMetaEntry
impl ReadXdr for ScEnvMetaEntry
impl StructuralEq for ScEnvMetaEntry
impl StructuralPartialEq for ScEnvMetaEntry
impl Union<ScEnvMetaKind> for ScEnvMetaEntry
impl WriteXdr for ScEnvMetaEntry
Auto Trait Implementations
impl RefUnwindSafe for ScEnvMetaEntry
impl Send for ScEnvMetaEntry
impl Sync for ScEnvMetaEntry
impl Unpin for ScEnvMetaEntry
impl UnwindSafe for ScEnvMetaEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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