pub enum DataTypePatterns<'tree> {
TypeParams(Box<TypeParams<'tree>>),
TypePatterns(Box<TypePatterns<'tree>>),
}Variants§
TypeParams(Box<TypeParams<'tree>>)
TypePatterns(Box<TypePatterns<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for DataTypePatterns<'tree>
impl<'tree> Clone for DataTypePatterns<'tree>
Source§fn clone(&self) -> DataTypePatterns<'tree>
fn clone(&self) -> DataTypePatterns<'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 DataTypePatterns<'tree>
impl<'tree> Debug for DataTypePatterns<'tree>
impl<'tree> Eq for DataTypePatterns<'tree>
Source§impl<'tree> FromNode<'tree> for DataTypePatterns<'tree>
impl<'tree> FromNode<'tree> for DataTypePatterns<'tree>
Source§impl<'tree> PartialEq for DataTypePatterns<'tree>
impl<'tree> PartialEq for DataTypePatterns<'tree>
Source§impl Spanned for DataTypePatterns<'_>
impl Spanned for DataTypePatterns<'_>
impl<'tree> StructuralPartialEq for DataTypePatterns<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for DataTypePatterns<'tree>
impl<'tree> RefUnwindSafe for DataTypePatterns<'tree>
impl<'tree> Send for DataTypePatterns<'tree>
impl<'tree> Sync for DataTypePatterns<'tree>
impl<'tree> Unpin for DataTypePatterns<'tree>
impl<'tree> UnsafeUnpin for DataTypePatterns<'tree>
impl<'tree> UnwindSafe for DataTypePatterns<'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