Struct chalk_parse::ast::TraitDefn
source · pub struct TraitDefn {
pub name: Identifier,
pub variable_kinds: Vec<VariableKind>,
pub where_clauses: Vec<QuantifiedWhereClause>,
pub assoc_ty_defns: Vec<AssocTyDefn>,
pub flags: TraitFlags,
pub well_known: Option<WellKnownTrait>,
}
Fields§
§name: Identifier
§variable_kinds: Vec<VariableKind>
§where_clauses: Vec<QuantifiedWhereClause>
§assoc_ty_defns: Vec<AssocTyDefn>
§flags: TraitFlags
§well_known: Option<WellKnownTrait>
Trait Implementations§
source§impl PartialEq for TraitDefn
impl PartialEq for TraitDefn
impl Eq for TraitDefn
impl StructuralPartialEq for TraitDefn
Auto Trait Implementations§
impl RefUnwindSafe for TraitDefn
impl Send for TraitDefn
impl Sync for TraitDefn
impl Unpin for TraitDefn
impl UnwindSafe for TraitDefn
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more