Struct bytecode_interpreter::concrete::ty::StructField
source · pub struct StructField {
pub name: String,
pub ty: BaseType,
}Fields§
§name: String§ty: BaseTypeTrait Implementations§
source§impl Clone for StructField
impl Clone for StructField
source§fn clone(&self) -> StructField
fn clone(&self) -> StructField
Returns a copy 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 StructField
impl Debug for StructField
source§impl Ord for StructField
impl Ord for StructField
source§fn cmp(&self, other: &StructField) -> Ordering
fn cmp(&self, other: &StructField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<StructField> for StructField
impl PartialEq<StructField> for StructField
source§fn eq(&self, other: &StructField) -> bool
fn eq(&self, other: &StructField) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<StructField> for StructField
impl PartialOrd<StructField> for StructField
source§fn partial_cmp(&self, other: &StructField) -> Option<Ordering>
fn partial_cmp(&self, other: &StructField) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Eq for StructField
impl StructuralEq for StructField
impl StructuralPartialEq for StructField
Auto Trait Implementations§
impl RefUnwindSafe for StructField
impl Send for StructField
impl Sync for StructField
impl Unpin for StructField
impl UnwindSafe for StructField
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.