Struct chalk_parse::ast::AssocTyDefn
source · pub struct AssocTyDefn {
pub name: Identifier,
pub variable_kinds: Vec<VariableKind>,
pub bounds: Vec<QuantifiedInlineBound>,
pub where_clauses: Vec<QuantifiedWhereClause>,
}
Fields§
§name: Identifier
§variable_kinds: Vec<VariableKind>
§bounds: Vec<QuantifiedInlineBound>
§where_clauses: Vec<QuantifiedWhereClause>
Trait Implementations§
source§impl Clone for AssocTyDefn
impl Clone for AssocTyDefn
source§fn clone(&self) -> AssocTyDefn
fn clone(&self) -> AssocTyDefn
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 AssocTyDefn
impl Debug for AssocTyDefn
source§impl PartialEq for AssocTyDefn
impl PartialEq for AssocTyDefn
source§fn eq(&self, other: &AssocTyDefn) -> bool
fn eq(&self, other: &AssocTyDefn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AssocTyDefn
impl StructuralPartialEq for AssocTyDefn
Auto Trait Implementations§
impl Freeze for AssocTyDefn
impl RefUnwindSafe for AssocTyDefn
impl Send for AssocTyDefn
impl Sync for AssocTyDefn
impl Unpin for AssocTyDefn
impl UnwindSafe for AssocTyDefn
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)