pub enum ScannerDirectives<'t> {
PercentLineUnderscoreCommentTokenLiteral(ScannerDirectivesPercentLineUnderscoreCommentTokenLiteral<'t>),
PercentBlockUnderscoreCommentTokenLiteralTokenLiteral(ScannerDirectivesPercentBlockUnderscoreCommentTokenLiteralTokenLiteral<'t>),
PercentAutoUnderscoreNewlineUnderscoreOff(ScannerDirectivesPercentAutoUnderscoreNewlineUnderscoreOff),
PercentAutoUnderscoreWsUnderscoreOff(ScannerDirectivesPercentAutoUnderscoreWsUnderscoreOff),
PercentOnIdentifierListPercentEnterIdentifier(ScannerDirectivesPercentOnIdentifierListPercentEnterIdentifier<'t>),
}
Expand description
Type derived for non-terminal ScannerDirectives
Variants§
PercentLineUnderscoreCommentTokenLiteral(ScannerDirectivesPercentLineUnderscoreCommentTokenLiteral<'t>)
PercentBlockUnderscoreCommentTokenLiteralTokenLiteral(ScannerDirectivesPercentBlockUnderscoreCommentTokenLiteralTokenLiteral<'t>)
PercentAutoUnderscoreNewlineUnderscoreOff(ScannerDirectivesPercentAutoUnderscoreNewlineUnderscoreOff)
PercentAutoUnderscoreWsUnderscoreOff(ScannerDirectivesPercentAutoUnderscoreWsUnderscoreOff)
PercentOnIdentifierListPercentEnterIdentifier(ScannerDirectivesPercentOnIdentifierListPercentEnterIdentifier<'t>)
Trait Implementations§
source§impl<'t> Clone for ScannerDirectives<'t>
impl<'t> Clone for ScannerDirectives<'t>
source§fn clone(&self) -> ScannerDirectives<'t>
fn clone(&self) -> ScannerDirectives<'t>
Returns a copy 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 moreAuto Trait Implementations§
impl<'t> Freeze for ScannerDirectives<'t>
impl<'t> RefUnwindSafe for ScannerDirectives<'t>
impl<'t> Send for ScannerDirectives<'t>
impl<'t> Sync for ScannerDirectives<'t>
impl<'t> Unpin for ScannerDirectives<'t>
impl<'t> UnwindSafe for ScannerDirectives<'t>
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