pub struct DataFamily<'tree> {
pub span: Span,
pub kind: Option<QuantifiedType<'tree>>,
pub name: Option<DataFamilyName<'tree>>,
pub patterns: Option<TypeParams<'tree>>,
pub children: Option<DataFamilyChildren<'tree>>,
}Fields§
§span: Span§kind: Option<QuantifiedType<'tree>>§name: Option<DataFamilyName<'tree>>§patterns: Option<TypeParams<'tree>>§children: Option<DataFamilyChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for DataFamily<'tree>
impl<'tree> Clone for DataFamily<'tree>
Source§fn clone(&self) -> DataFamily<'tree>
fn clone(&self) -> DataFamily<'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 DataFamily<'tree>
impl<'tree> Debug for DataFamily<'tree>
impl<'tree> Eq for DataFamily<'tree>
Source§impl<'tree> FromNode<'tree> for DataFamily<'tree>
impl<'tree> FromNode<'tree> for DataFamily<'tree>
Source§impl<'tree> PartialEq for DataFamily<'tree>
impl<'tree> PartialEq for DataFamily<'tree>
Source§impl Spanned for DataFamily<'_>
impl Spanned for DataFamily<'_>
impl<'tree> StructuralPartialEq for DataFamily<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for DataFamily<'tree>
impl<'tree> RefUnwindSafe for DataFamily<'tree>
impl<'tree> Send for DataFamily<'tree>
impl<'tree> Sync for DataFamily<'tree>
impl<'tree> Unpin for DataFamily<'tree>
impl<'tree> UnsafeUnpin for DataFamily<'tree>
impl<'tree> UnwindSafe for DataFamily<'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