Enum move_lang::hlir::ast::StructFields
source · pub enum StructFields {
Defined(Vec<(Field, BaseType)>),
Native(Loc),
}
Variants§
Trait Implementations§
source§impl Clone for StructFields
impl Clone for StructFields
source§fn clone(&self) -> StructFields
fn clone(&self) -> StructFields
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 StructFields
impl Debug for StructFields
source§impl PartialEq<StructFields> for StructFields
impl PartialEq<StructFields> for StructFields
source§fn eq(&self, other: &StructFields) -> bool
fn eq(&self, other: &StructFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StructFields
impl StructuralEq for StructFields
impl StructuralPartialEq for StructFields
Auto Trait Implementations§
impl RefUnwindSafe for StructFields
impl Send for StructFields
impl Sync for StructFields
impl Unpin for StructFields
impl UnwindSafe for StructFields
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.