pub struct TokenNodeGreen(pub GreenId);
Tuple Fields§
§0: GreenId
Trait Implementations§
Source§impl Clone for TokenNodeGreen
impl Clone for TokenNodeGreen
Source§fn clone(&self) -> TokenNodeGreen
fn clone(&self) -> TokenNodeGreen
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 moreSource§impl Debug for TokenNodeGreen
impl Debug for TokenNodeGreen
Source§impl From<TerminalAndAndGreen> for TokenNodeGreen
impl From<TerminalAndAndGreen> for TokenNodeGreen
Source§fn from(value: TerminalAndAndGreen) -> Self
fn from(value: TerminalAndAndGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalAndGreen> for TokenNodeGreen
impl From<TerminalAndGreen> for TokenNodeGreen
Source§fn from(value: TerminalAndGreen) -> Self
fn from(value: TerminalAndGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalArrowGreen> for TokenNodeGreen
impl From<TerminalArrowGreen> for TokenNodeGreen
Source§fn from(value: TerminalArrowGreen) -> Self
fn from(value: TerminalArrowGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalAsGreen> for TokenNodeGreen
impl From<TerminalAsGreen> for TokenNodeGreen
Source§fn from(value: TerminalAsGreen) -> Self
fn from(value: TerminalAsGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalAtGreen> for TokenNodeGreen
impl From<TerminalAtGreen> for TokenNodeGreen
Source§fn from(value: TerminalAtGreen) -> Self
fn from(value: TerminalAtGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalBadCharactersGreen> for TokenNodeGreen
impl From<TerminalBadCharactersGreen> for TokenNodeGreen
Source§fn from(value: TerminalBadCharactersGreen) -> Self
fn from(value: TerminalBadCharactersGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalBitNotGreen> for TokenNodeGreen
impl From<TerminalBitNotGreen> for TokenNodeGreen
Source§fn from(value: TerminalBitNotGreen) -> Self
fn from(value: TerminalBitNotGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalBreakGreen> for TokenNodeGreen
impl From<TerminalBreakGreen> for TokenNodeGreen
Source§fn from(value: TerminalBreakGreen) -> Self
fn from(value: TerminalBreakGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalColonColonGreen> for TokenNodeGreen
impl From<TerminalColonColonGreen> for TokenNodeGreen
Source§fn from(value: TerminalColonColonGreen) -> Self
fn from(value: TerminalColonColonGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalColonGreen> for TokenNodeGreen
impl From<TerminalColonGreen> for TokenNodeGreen
Source§fn from(value: TerminalColonGreen) -> Self
fn from(value: TerminalColonGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalCommaGreen> for TokenNodeGreen
impl From<TerminalCommaGreen> for TokenNodeGreen
Source§fn from(value: TerminalCommaGreen) -> Self
fn from(value: TerminalCommaGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalConstGreen> for TokenNodeGreen
impl From<TerminalConstGreen> for TokenNodeGreen
Source§fn from(value: TerminalConstGreen) -> Self
fn from(value: TerminalConstGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalContinueGreen> for TokenNodeGreen
impl From<TerminalContinueGreen> for TokenNodeGreen
Source§fn from(value: TerminalContinueGreen) -> Self
fn from(value: TerminalContinueGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalDivEqGreen> for TokenNodeGreen
impl From<TerminalDivEqGreen> for TokenNodeGreen
Source§fn from(value: TerminalDivEqGreen) -> Self
fn from(value: TerminalDivEqGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalDivGreen> for TokenNodeGreen
impl From<TerminalDivGreen> for TokenNodeGreen
Source§fn from(value: TerminalDivGreen) -> Self
fn from(value: TerminalDivGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalDotDotGreen> for TokenNodeGreen
impl From<TerminalDotDotGreen> for TokenNodeGreen
Source§fn from(value: TerminalDotDotGreen) -> Self
fn from(value: TerminalDotDotGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalDotGreen> for TokenNodeGreen
impl From<TerminalDotGreen> for TokenNodeGreen
Source§fn from(value: TerminalDotGreen) -> Self
fn from(value: TerminalDotGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalElseGreen> for TokenNodeGreen
impl From<TerminalElseGreen> for TokenNodeGreen
Source§fn from(value: TerminalElseGreen) -> Self
fn from(value: TerminalElseGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEmptyGreen> for TokenNodeGreen
impl From<TerminalEmptyGreen> for TokenNodeGreen
Source§fn from(value: TerminalEmptyGreen) -> Self
fn from(value: TerminalEmptyGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEndOfFileGreen> for TokenNodeGreen
impl From<TerminalEndOfFileGreen> for TokenNodeGreen
Source§fn from(value: TerminalEndOfFileGreen) -> Self
fn from(value: TerminalEndOfFileGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEnumGreen> for TokenNodeGreen
impl From<TerminalEnumGreen> for TokenNodeGreen
Source§fn from(value: TerminalEnumGreen) -> Self
fn from(value: TerminalEnumGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEqEqGreen> for TokenNodeGreen
impl From<TerminalEqEqGreen> for TokenNodeGreen
Source§fn from(value: TerminalEqEqGreen) -> Self
fn from(value: TerminalEqEqGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEqGreen> for TokenNodeGreen
impl From<TerminalEqGreen> for TokenNodeGreen
Source§fn from(value: TerminalEqGreen) -> Self
fn from(value: TerminalEqGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalExternGreen> for TokenNodeGreen
impl From<TerminalExternGreen> for TokenNodeGreen
Source§fn from(value: TerminalExternGreen) -> Self
fn from(value: TerminalExternGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalFalseGreen> for TokenNodeGreen
impl From<TerminalFalseGreen> for TokenNodeGreen
Source§fn from(value: TerminalFalseGreen) -> Self
fn from(value: TerminalFalseGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalForGreen> for TokenNodeGreen
impl From<TerminalForGreen> for TokenNodeGreen
Source§fn from(value: TerminalForGreen) -> Self
fn from(value: TerminalForGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalFunctionGreen> for TokenNodeGreen
impl From<TerminalFunctionGreen> for TokenNodeGreen
Source§fn from(value: TerminalFunctionGreen) -> Self
fn from(value: TerminalFunctionGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalGEGreen> for TokenNodeGreen
impl From<TerminalGEGreen> for TokenNodeGreen
Source§fn from(value: TerminalGEGreen) -> Self
fn from(value: TerminalGEGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalGTGreen> for TokenNodeGreen
impl From<TerminalGTGreen> for TokenNodeGreen
Source§fn from(value: TerminalGTGreen) -> Self
fn from(value: TerminalGTGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalHashGreen> for TokenNodeGreen
impl From<TerminalHashGreen> for TokenNodeGreen
Source§fn from(value: TerminalHashGreen) -> Self
fn from(value: TerminalHashGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalIdentifierGreen> for TokenNodeGreen
impl From<TerminalIdentifierGreen> for TokenNodeGreen
Source§fn from(value: TerminalIdentifierGreen) -> Self
fn from(value: TerminalIdentifierGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalIfGreen> for TokenNodeGreen
impl From<TerminalIfGreen> for TokenNodeGreen
Source§fn from(value: TerminalIfGreen) -> Self
fn from(value: TerminalIfGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalImplGreen> for TokenNodeGreen
impl From<TerminalImplGreen> for TokenNodeGreen
Source§fn from(value: TerminalImplGreen) -> Self
fn from(value: TerminalImplGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalImplicitsGreen> for TokenNodeGreen
impl From<TerminalImplicitsGreen> for TokenNodeGreen
Source§fn from(value: TerminalImplicitsGreen) -> Self
fn from(value: TerminalImplicitsGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLBraceGreen> for TokenNodeGreen
impl From<TerminalLBraceGreen> for TokenNodeGreen
Source§fn from(value: TerminalLBraceGreen) -> Self
fn from(value: TerminalLBraceGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLBrackGreen> for TokenNodeGreen
impl From<TerminalLBrackGreen> for TokenNodeGreen
Source§fn from(value: TerminalLBrackGreen) -> Self
fn from(value: TerminalLBrackGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLEGreen> for TokenNodeGreen
impl From<TerminalLEGreen> for TokenNodeGreen
Source§fn from(value: TerminalLEGreen) -> Self
fn from(value: TerminalLEGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLParenGreen> for TokenNodeGreen
impl From<TerminalLParenGreen> for TokenNodeGreen
Source§fn from(value: TerminalLParenGreen) -> Self
fn from(value: TerminalLParenGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLTGreen> for TokenNodeGreen
impl From<TerminalLTGreen> for TokenNodeGreen
Source§fn from(value: TerminalLTGreen) -> Self
fn from(value: TerminalLTGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLetGreen> for TokenNodeGreen
impl From<TerminalLetGreen> for TokenNodeGreen
Source§fn from(value: TerminalLetGreen) -> Self
fn from(value: TerminalLetGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLiteralNumberGreen> for TokenNodeGreen
impl From<TerminalLiteralNumberGreen> for TokenNodeGreen
Source§fn from(value: TerminalLiteralNumberGreen) -> Self
fn from(value: TerminalLiteralNumberGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLoopGreen> for TokenNodeGreen
impl From<TerminalLoopGreen> for TokenNodeGreen
Source§fn from(value: TerminalLoopGreen) -> Self
fn from(value: TerminalLoopGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMatchArrowGreen> for TokenNodeGreen
impl From<TerminalMatchArrowGreen> for TokenNodeGreen
Source§fn from(value: TerminalMatchArrowGreen) -> Self
fn from(value: TerminalMatchArrowGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMatchGreen> for TokenNodeGreen
impl From<TerminalMatchGreen> for TokenNodeGreen
Source§fn from(value: TerminalMatchGreen) -> Self
fn from(value: TerminalMatchGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMinusEqGreen> for TokenNodeGreen
impl From<TerminalMinusEqGreen> for TokenNodeGreen
Source§fn from(value: TerminalMinusEqGreen) -> Self
fn from(value: TerminalMinusEqGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMinusGreen> for TokenNodeGreen
impl From<TerminalMinusGreen> for TokenNodeGreen
Source§fn from(value: TerminalMinusGreen) -> Self
fn from(value: TerminalMinusGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalModEqGreen> for TokenNodeGreen
impl From<TerminalModEqGreen> for TokenNodeGreen
Source§fn from(value: TerminalModEqGreen) -> Self
fn from(value: TerminalModEqGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalModGreen> for TokenNodeGreen
impl From<TerminalModGreen> for TokenNodeGreen
Source§fn from(value: TerminalModGreen) -> Self
fn from(value: TerminalModGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalModuleGreen> for TokenNodeGreen
impl From<TerminalModuleGreen> for TokenNodeGreen
Source§fn from(value: TerminalModuleGreen) -> Self
fn from(value: TerminalModuleGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMulEqGreen> for TokenNodeGreen
impl From<TerminalMulEqGreen> for TokenNodeGreen
Source§fn from(value: TerminalMulEqGreen) -> Self
fn from(value: TerminalMulEqGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMulGreen> for TokenNodeGreen
impl From<TerminalMulGreen> for TokenNodeGreen
Source§fn from(value: TerminalMulGreen) -> Self
fn from(value: TerminalMulGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMutGreen> for TokenNodeGreen
impl From<TerminalMutGreen> for TokenNodeGreen
Source§fn from(value: TerminalMutGreen) -> Self
fn from(value: TerminalMutGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalNeqGreen> for TokenNodeGreen
impl From<TerminalNeqGreen> for TokenNodeGreen
Source§fn from(value: TerminalNeqGreen) -> Self
fn from(value: TerminalNeqGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalNoPanicGreen> for TokenNodeGreen
impl From<TerminalNoPanicGreen> for TokenNodeGreen
Source§fn from(value: TerminalNoPanicGreen) -> Self
fn from(value: TerminalNoPanicGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalNotGreen> for TokenNodeGreen
impl From<TerminalNotGreen> for TokenNodeGreen
Source§fn from(value: TerminalNotGreen) -> Self
fn from(value: TerminalNotGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalOfGreen> for TokenNodeGreen
impl From<TerminalOfGreen> for TokenNodeGreen
Source§fn from(value: TerminalOfGreen) -> Self
fn from(value: TerminalOfGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalOrGreen> for TokenNodeGreen
impl From<TerminalOrGreen> for TokenNodeGreen
Source§fn from(value: TerminalOrGreen) -> Self
fn from(value: TerminalOrGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalOrOrGreen> for TokenNodeGreen
impl From<TerminalOrOrGreen> for TokenNodeGreen
Source§fn from(value: TerminalOrOrGreen) -> Self
fn from(value: TerminalOrOrGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalPlusEqGreen> for TokenNodeGreen
impl From<TerminalPlusEqGreen> for TokenNodeGreen
Source§fn from(value: TerminalPlusEqGreen) -> Self
fn from(value: TerminalPlusEqGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalPlusGreen> for TokenNodeGreen
impl From<TerminalPlusGreen> for TokenNodeGreen
Source§fn from(value: TerminalPlusGreen) -> Self
fn from(value: TerminalPlusGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalPubGreen> for TokenNodeGreen
impl From<TerminalPubGreen> for TokenNodeGreen
Source§fn from(value: TerminalPubGreen) -> Self
fn from(value: TerminalPubGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalQuestionMarkGreen> for TokenNodeGreen
impl From<TerminalQuestionMarkGreen> for TokenNodeGreen
Source§fn from(value: TerminalQuestionMarkGreen) -> Self
fn from(value: TerminalQuestionMarkGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalRBraceGreen> for TokenNodeGreen
impl From<TerminalRBraceGreen> for TokenNodeGreen
Source§fn from(value: TerminalRBraceGreen) -> Self
fn from(value: TerminalRBraceGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalRBrackGreen> for TokenNodeGreen
impl From<TerminalRBrackGreen> for TokenNodeGreen
Source§fn from(value: TerminalRBrackGreen) -> Self
fn from(value: TerminalRBrackGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalRParenGreen> for TokenNodeGreen
impl From<TerminalRParenGreen> for TokenNodeGreen
Source§fn from(value: TerminalRParenGreen) -> Self
fn from(value: TerminalRParenGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalRefGreen> for TokenNodeGreen
impl From<TerminalRefGreen> for TokenNodeGreen
Source§fn from(value: TerminalRefGreen) -> Self
fn from(value: TerminalRefGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalReturnGreen> for TokenNodeGreen
impl From<TerminalReturnGreen> for TokenNodeGreen
Source§fn from(value: TerminalReturnGreen) -> Self
fn from(value: TerminalReturnGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalSemicolonGreen> for TokenNodeGreen
impl From<TerminalSemicolonGreen> for TokenNodeGreen
Source§fn from(value: TerminalSemicolonGreen) -> Self
fn from(value: TerminalSemicolonGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalShortStringGreen> for TokenNodeGreen
impl From<TerminalShortStringGreen> for TokenNodeGreen
Source§fn from(value: TerminalShortStringGreen) -> Self
fn from(value: TerminalShortStringGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalStringGreen> for TokenNodeGreen
impl From<TerminalStringGreen> for TokenNodeGreen
Source§fn from(value: TerminalStringGreen) -> Self
fn from(value: TerminalStringGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalStructGreen> for TokenNodeGreen
impl From<TerminalStructGreen> for TokenNodeGreen
Source§fn from(value: TerminalStructGreen) -> Self
fn from(value: TerminalStructGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalTraitGreen> for TokenNodeGreen
impl From<TerminalTraitGreen> for TokenNodeGreen
Source§fn from(value: TerminalTraitGreen) -> Self
fn from(value: TerminalTraitGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalTrueGreen> for TokenNodeGreen
impl From<TerminalTrueGreen> for TokenNodeGreen
Source§fn from(value: TerminalTrueGreen) -> Self
fn from(value: TerminalTrueGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalTypeGreen> for TokenNodeGreen
impl From<TerminalTypeGreen> for TokenNodeGreen
Source§fn from(value: TerminalTypeGreen) -> Self
fn from(value: TerminalTypeGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalUnderscoreGreen> for TokenNodeGreen
impl From<TerminalUnderscoreGreen> for TokenNodeGreen
Source§fn from(value: TerminalUnderscoreGreen) -> Self
fn from(value: TerminalUnderscoreGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalUseGreen> for TokenNodeGreen
impl From<TerminalUseGreen> for TokenNodeGreen
Source§fn from(value: TerminalUseGreen) -> Self
fn from(value: TerminalUseGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalWhileGreen> for TokenNodeGreen
impl From<TerminalWhileGreen> for TokenNodeGreen
Source§fn from(value: TerminalWhileGreen) -> Self
fn from(value: TerminalWhileGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalXorGreen> for TokenNodeGreen
impl From<TerminalXorGreen> for TokenNodeGreen
Source§fn from(value: TerminalXorGreen) -> Self
fn from(value: TerminalXorGreen) -> Self
Converts to this type from the input type.
Source§impl Hash for TokenNodeGreen
impl Hash for TokenNodeGreen
Source§impl PartialEq for TokenNodeGreen
impl PartialEq for TokenNodeGreen
impl Copy for TokenNodeGreen
impl Eq for TokenNodeGreen
impl StructuralPartialEq for TokenNodeGreen
Auto Trait Implementations§
impl Freeze for TokenNodeGreen
impl RefUnwindSafe for TokenNodeGreen
impl Send for TokenNodeGreen
impl Sync for TokenNodeGreen
impl Unpin for TokenNodeGreen
impl UnwindSafe for TokenNodeGreen
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more