pub struct TypeFamily<'tree> {
pub span: Span,
pub closed_family: Option<TypeFamilyClosedFamily<'tree>>,
pub kind: Option<QuantifiedType<'tree>>,
pub name: Option<TypeFamilyName<'tree>>,
pub patterns: Option<TypeParams<'tree>>,
pub children: Vec<TypeFamilyChildren<'tree>>,
}Fields§
§span: Span§closed_family: Option<TypeFamilyClosedFamily<'tree>>§kind: Option<QuantifiedType<'tree>>§name: Option<TypeFamilyName<'tree>>§patterns: Option<TypeParams<'tree>>§children: Vec<TypeFamilyChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for TypeFamily<'tree>
impl<'tree> Clone for TypeFamily<'tree>
Source§fn clone(&self) -> TypeFamily<'tree>
fn clone(&self) -> TypeFamily<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for TypeFamily<'tree>
impl<'tree> Debug for TypeFamily<'tree>
impl<'tree> Eq for TypeFamily<'tree>
Source§impl<'tree> FromNode<'tree> for TypeFamily<'tree>
impl<'tree> FromNode<'tree> for TypeFamily<'tree>
Source§impl<'tree> PartialEq for TypeFamily<'tree>
impl<'tree> PartialEq for TypeFamily<'tree>
Source§impl Spanned for TypeFamily<'_>
impl Spanned for TypeFamily<'_>
impl<'tree> StructuralPartialEq for TypeFamily<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TypeFamily<'tree>
impl<'tree> RefUnwindSafe for TypeFamily<'tree>
impl<'tree> Send for TypeFamily<'tree>
impl<'tree> Sync for TypeFamily<'tree>
impl<'tree> Unpin for TypeFamily<'tree>
impl<'tree> UnsafeUnpin for TypeFamily<'tree>
impl<'tree> UnwindSafe for TypeFamily<'tree>
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