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: StructNameHuman-readable name for the struct that also serves as a nominal type
type_formals: Vec<StructTypeParameter>The list of formal type arguments
Trait Implementations
sourceimpl Clone for StructDependency
impl Clone for StructDependency
sourcefn clone(&self) -> StructDependency
fn clone(&self) -> StructDependency
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
sourceimpl Debug for StructDependency
impl Debug for StructDependency
sourceimpl Display for StructDependency
impl Display for StructDependency
sourceimpl PartialEq<StructDependency> for StructDependency
impl PartialEq<StructDependency> for StructDependency
sourcefn 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 ==. Read more
impl StructuralPartialEq for StructDependency
Auto Trait Implementations
impl RefUnwindSafe for StructDependency
impl Send for StructDependency
impl Sync for StructDependency
impl Unpin for StructDependency
impl UnwindSafe for StructDependency
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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