pub struct SyntacticPrimary<'src> {
pub span: Span,
pub kind: SyntacticPrimaryKind<'src>,
}Fields§
§span: Span§kind: SyntacticPrimaryKind<'src>Trait Implementations§
Source§impl<'src> Clone for SyntacticPrimary<'src>
impl<'src> Clone for SyntacticPrimary<'src>
Source§fn clone(&self) -> SyntacticPrimary<'src>
fn clone(&self) -> SyntacticPrimary<'src>
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<'src> Debug for SyntacticPrimary<'src>
impl<'src> Debug for SyntacticPrimary<'src>
Source§impl<'src> PartialEq for SyntacticPrimary<'src>
impl<'src> PartialEq for SyntacticPrimary<'src>
impl<'src> StructuralPartialEq for SyntacticPrimary<'src>
Auto Trait Implementations§
impl<'src> Freeze for SyntacticPrimary<'src>
impl<'src> RefUnwindSafe for SyntacticPrimary<'src>
impl<'src> Send for SyntacticPrimary<'src>
impl<'src> Sync for SyntacticPrimary<'src>
impl<'src> Unpin for SyntacticPrimary<'src>
impl<'src> UnwindSafe for SyntacticPrimary<'src>
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