pub struct ConstructorSynonym<'tree> {
pub span: Span,
pub binds: Option<LocalBinds<'tree>>,
pub implicit: Option<ImplicitVariable<'tree>>,
pub match: Vec<Match<'tree>>,
pub name: Option<ConstructorSynonymName<'tree>>,
pub pattern: Option<ConstructorSynonymPattern<'tree>>,
}Fields§
§span: Span§binds: Option<LocalBinds<'tree>>§implicit: Option<ImplicitVariable<'tree>>§match: Vec<Match<'tree>>§name: Option<ConstructorSynonymName<'tree>>§pattern: Option<ConstructorSynonymPattern<'tree>>Trait Implementations§
Source§impl<'tree> Clone for ConstructorSynonym<'tree>
impl<'tree> Clone for ConstructorSynonym<'tree>
Source§fn clone(&self) -> ConstructorSynonym<'tree>
fn clone(&self) -> ConstructorSynonym<'tree>
Returns a duplicate 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<'tree> Debug for ConstructorSynonym<'tree>
impl<'tree> Debug for ConstructorSynonym<'tree>
Source§impl<'tree> FromNode<'tree> for ConstructorSynonym<'tree>
impl<'tree> FromNode<'tree> for ConstructorSynonym<'tree>
Source§impl<'tree> PartialEq for ConstructorSynonym<'tree>
impl<'tree> PartialEq for ConstructorSynonym<'tree>
Source§impl Spanned for ConstructorSynonym<'_>
impl Spanned for ConstructorSynonym<'_>
impl<'tree> Eq for ConstructorSynonym<'tree>
impl<'tree> StructuralPartialEq for ConstructorSynonym<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ConstructorSynonym<'tree>
impl<'tree> RefUnwindSafe for ConstructorSynonym<'tree>
impl<'tree> Send for ConstructorSynonym<'tree>
impl<'tree> Sync for ConstructorSynonym<'tree>
impl<'tree> Unpin for ConstructorSynonym<'tree>
impl<'tree> UnsafeUnpin for ConstructorSynonym<'tree>
impl<'tree> UnwindSafe for ConstructorSynonym<'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