Struct move_ir_types::ast::StructDependency
source · pub struct StructDependency {
pub abilities: BTreeSet<Ability>,
pub name: StructName,
pub type_formals: Vec<StructTypeParameter>,
}
Expand description
An explicit struct dependency
Fields§
§abilities: BTreeSet<Ability>
The declared abilities for the struct
name: StructName
Human-readable name for the struct that also serves as a nominal type
type_formals: Vec<StructTypeParameter>
The list of formal type arguments
Trait Implementations§
source§impl Clone for StructDependency
impl Clone for StructDependency
source§fn clone(&self) -> StructDependency
fn clone(&self) -> StructDependency
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 StructDependency
impl Debug for StructDependency
source§impl Display for StructDependency
impl Display for StructDependency
source§impl PartialEq<StructDependency> for StructDependency
impl PartialEq<StructDependency> for StructDependency
source§fn eq(&self, other: &StructDependency) -> bool
fn eq(&self, other: &StructDependency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.