pub struct TokenNodePtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Trait Implementations§
Source§impl Clone for TokenNodePtr
impl Clone for TokenNodePtr
Source§fn clone(&self) -> TokenNodePtr
fn clone(&self) -> TokenNodePtr
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 TokenNodePtr
impl Debug for TokenNodePtr
Source§impl From<TerminalAndAndPtr> for TokenNodePtr
impl From<TerminalAndAndPtr> for TokenNodePtr
Source§fn from(value: TerminalAndAndPtr) -> Self
fn from(value: TerminalAndAndPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalAndPtr> for TokenNodePtr
impl From<TerminalAndPtr> for TokenNodePtr
Source§fn from(value: TerminalAndPtr) -> Self
fn from(value: TerminalAndPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalArrowPtr> for TokenNodePtr
impl From<TerminalArrowPtr> for TokenNodePtr
Source§fn from(value: TerminalArrowPtr) -> Self
fn from(value: TerminalArrowPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalAsPtr> for TokenNodePtr
impl From<TerminalAsPtr> for TokenNodePtr
Source§fn from(value: TerminalAsPtr) -> Self
fn from(value: TerminalAsPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalAtPtr> for TokenNodePtr
impl From<TerminalAtPtr> for TokenNodePtr
Source§fn from(value: TerminalAtPtr) -> Self
fn from(value: TerminalAtPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalBadCharactersPtr> for TokenNodePtr
impl From<TerminalBadCharactersPtr> for TokenNodePtr
Source§fn from(value: TerminalBadCharactersPtr) -> Self
fn from(value: TerminalBadCharactersPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalBitNotPtr> for TokenNodePtr
impl From<TerminalBitNotPtr> for TokenNodePtr
Source§fn from(value: TerminalBitNotPtr) -> Self
fn from(value: TerminalBitNotPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalBreakPtr> for TokenNodePtr
impl From<TerminalBreakPtr> for TokenNodePtr
Source§fn from(value: TerminalBreakPtr) -> Self
fn from(value: TerminalBreakPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalColonColonPtr> for TokenNodePtr
impl From<TerminalColonColonPtr> for TokenNodePtr
Source§fn from(value: TerminalColonColonPtr) -> Self
fn from(value: TerminalColonColonPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalColonPtr> for TokenNodePtr
impl From<TerminalColonPtr> for TokenNodePtr
Source§fn from(value: TerminalColonPtr) -> Self
fn from(value: TerminalColonPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalCommaPtr> for TokenNodePtr
impl From<TerminalCommaPtr> for TokenNodePtr
Source§fn from(value: TerminalCommaPtr) -> Self
fn from(value: TerminalCommaPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalConstPtr> for TokenNodePtr
impl From<TerminalConstPtr> for TokenNodePtr
Source§fn from(value: TerminalConstPtr) -> Self
fn from(value: TerminalConstPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalContinuePtr> for TokenNodePtr
impl From<TerminalContinuePtr> for TokenNodePtr
Source§fn from(value: TerminalContinuePtr) -> Self
fn from(value: TerminalContinuePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalDivEqPtr> for TokenNodePtr
impl From<TerminalDivEqPtr> for TokenNodePtr
Source§fn from(value: TerminalDivEqPtr) -> Self
fn from(value: TerminalDivEqPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalDivPtr> for TokenNodePtr
impl From<TerminalDivPtr> for TokenNodePtr
Source§fn from(value: TerminalDivPtr) -> Self
fn from(value: TerminalDivPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalDotDotPtr> for TokenNodePtr
impl From<TerminalDotDotPtr> for TokenNodePtr
Source§fn from(value: TerminalDotDotPtr) -> Self
fn from(value: TerminalDotDotPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalDotPtr> for TokenNodePtr
impl From<TerminalDotPtr> for TokenNodePtr
Source§fn from(value: TerminalDotPtr) -> Self
fn from(value: TerminalDotPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalElsePtr> for TokenNodePtr
impl From<TerminalElsePtr> for TokenNodePtr
Source§fn from(value: TerminalElsePtr) -> Self
fn from(value: TerminalElsePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEmptyPtr> for TokenNodePtr
impl From<TerminalEmptyPtr> for TokenNodePtr
Source§fn from(value: TerminalEmptyPtr) -> Self
fn from(value: TerminalEmptyPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEndOfFilePtr> for TokenNodePtr
impl From<TerminalEndOfFilePtr> for TokenNodePtr
Source§fn from(value: TerminalEndOfFilePtr) -> Self
fn from(value: TerminalEndOfFilePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEnumPtr> for TokenNodePtr
impl From<TerminalEnumPtr> for TokenNodePtr
Source§fn from(value: TerminalEnumPtr) -> Self
fn from(value: TerminalEnumPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEqEqPtr> for TokenNodePtr
impl From<TerminalEqEqPtr> for TokenNodePtr
Source§fn from(value: TerminalEqEqPtr) -> Self
fn from(value: TerminalEqEqPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalEqPtr> for TokenNodePtr
impl From<TerminalEqPtr> for TokenNodePtr
Source§fn from(value: TerminalEqPtr) -> Self
fn from(value: TerminalEqPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalExternPtr> for TokenNodePtr
impl From<TerminalExternPtr> for TokenNodePtr
Source§fn from(value: TerminalExternPtr) -> Self
fn from(value: TerminalExternPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalFalsePtr> for TokenNodePtr
impl From<TerminalFalsePtr> for TokenNodePtr
Source§fn from(value: TerminalFalsePtr) -> Self
fn from(value: TerminalFalsePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalForPtr> for TokenNodePtr
impl From<TerminalForPtr> for TokenNodePtr
Source§fn from(value: TerminalForPtr) -> Self
fn from(value: TerminalForPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalFunctionPtr> for TokenNodePtr
impl From<TerminalFunctionPtr> for TokenNodePtr
Source§fn from(value: TerminalFunctionPtr) -> Self
fn from(value: TerminalFunctionPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalGEPtr> for TokenNodePtr
impl From<TerminalGEPtr> for TokenNodePtr
Source§fn from(value: TerminalGEPtr) -> Self
fn from(value: TerminalGEPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalGTPtr> for TokenNodePtr
impl From<TerminalGTPtr> for TokenNodePtr
Source§fn from(value: TerminalGTPtr) -> Self
fn from(value: TerminalGTPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalHashPtr> for TokenNodePtr
impl From<TerminalHashPtr> for TokenNodePtr
Source§fn from(value: TerminalHashPtr) -> Self
fn from(value: TerminalHashPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalIdentifierPtr> for TokenNodePtr
impl From<TerminalIdentifierPtr> for TokenNodePtr
Source§fn from(value: TerminalIdentifierPtr) -> Self
fn from(value: TerminalIdentifierPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalIfPtr> for TokenNodePtr
impl From<TerminalIfPtr> for TokenNodePtr
Source§fn from(value: TerminalIfPtr) -> Self
fn from(value: TerminalIfPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalImplPtr> for TokenNodePtr
impl From<TerminalImplPtr> for TokenNodePtr
Source§fn from(value: TerminalImplPtr) -> Self
fn from(value: TerminalImplPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalImplicitsPtr> for TokenNodePtr
impl From<TerminalImplicitsPtr> for TokenNodePtr
Source§fn from(value: TerminalImplicitsPtr) -> Self
fn from(value: TerminalImplicitsPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLBracePtr> for TokenNodePtr
impl From<TerminalLBracePtr> for TokenNodePtr
Source§fn from(value: TerminalLBracePtr) -> Self
fn from(value: TerminalLBracePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLBrackPtr> for TokenNodePtr
impl From<TerminalLBrackPtr> for TokenNodePtr
Source§fn from(value: TerminalLBrackPtr) -> Self
fn from(value: TerminalLBrackPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLEPtr> for TokenNodePtr
impl From<TerminalLEPtr> for TokenNodePtr
Source§fn from(value: TerminalLEPtr) -> Self
fn from(value: TerminalLEPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLParenPtr> for TokenNodePtr
impl From<TerminalLParenPtr> for TokenNodePtr
Source§fn from(value: TerminalLParenPtr) -> Self
fn from(value: TerminalLParenPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLTPtr> for TokenNodePtr
impl From<TerminalLTPtr> for TokenNodePtr
Source§fn from(value: TerminalLTPtr) -> Self
fn from(value: TerminalLTPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLetPtr> for TokenNodePtr
impl From<TerminalLetPtr> for TokenNodePtr
Source§fn from(value: TerminalLetPtr) -> Self
fn from(value: TerminalLetPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLiteralNumberPtr> for TokenNodePtr
impl From<TerminalLiteralNumberPtr> for TokenNodePtr
Source§fn from(value: TerminalLiteralNumberPtr) -> Self
fn from(value: TerminalLiteralNumberPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLoopPtr> for TokenNodePtr
impl From<TerminalLoopPtr> for TokenNodePtr
Source§fn from(value: TerminalLoopPtr) -> Self
fn from(value: TerminalLoopPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMatchArrowPtr> for TokenNodePtr
impl From<TerminalMatchArrowPtr> for TokenNodePtr
Source§fn from(value: TerminalMatchArrowPtr) -> Self
fn from(value: TerminalMatchArrowPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMatchPtr> for TokenNodePtr
impl From<TerminalMatchPtr> for TokenNodePtr
Source§fn from(value: TerminalMatchPtr) -> Self
fn from(value: TerminalMatchPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMinusEqPtr> for TokenNodePtr
impl From<TerminalMinusEqPtr> for TokenNodePtr
Source§fn from(value: TerminalMinusEqPtr) -> Self
fn from(value: TerminalMinusEqPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMinusPtr> for TokenNodePtr
impl From<TerminalMinusPtr> for TokenNodePtr
Source§fn from(value: TerminalMinusPtr) -> Self
fn from(value: TerminalMinusPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalModEqPtr> for TokenNodePtr
impl From<TerminalModEqPtr> for TokenNodePtr
Source§fn from(value: TerminalModEqPtr) -> Self
fn from(value: TerminalModEqPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalModPtr> for TokenNodePtr
impl From<TerminalModPtr> for TokenNodePtr
Source§fn from(value: TerminalModPtr) -> Self
fn from(value: TerminalModPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalModulePtr> for TokenNodePtr
impl From<TerminalModulePtr> for TokenNodePtr
Source§fn from(value: TerminalModulePtr) -> Self
fn from(value: TerminalModulePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMulEqPtr> for TokenNodePtr
impl From<TerminalMulEqPtr> for TokenNodePtr
Source§fn from(value: TerminalMulEqPtr) -> Self
fn from(value: TerminalMulEqPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMulPtr> for TokenNodePtr
impl From<TerminalMulPtr> for TokenNodePtr
Source§fn from(value: TerminalMulPtr) -> Self
fn from(value: TerminalMulPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalMutPtr> for TokenNodePtr
impl From<TerminalMutPtr> for TokenNodePtr
Source§fn from(value: TerminalMutPtr) -> Self
fn from(value: TerminalMutPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalNeqPtr> for TokenNodePtr
impl From<TerminalNeqPtr> for TokenNodePtr
Source§fn from(value: TerminalNeqPtr) -> Self
fn from(value: TerminalNeqPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalNoPanicPtr> for TokenNodePtr
impl From<TerminalNoPanicPtr> for TokenNodePtr
Source§fn from(value: TerminalNoPanicPtr) -> Self
fn from(value: TerminalNoPanicPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalNotPtr> for TokenNodePtr
impl From<TerminalNotPtr> for TokenNodePtr
Source§fn from(value: TerminalNotPtr) -> Self
fn from(value: TerminalNotPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalOfPtr> for TokenNodePtr
impl From<TerminalOfPtr> for TokenNodePtr
Source§fn from(value: TerminalOfPtr) -> Self
fn from(value: TerminalOfPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalOrOrPtr> for TokenNodePtr
impl From<TerminalOrOrPtr> for TokenNodePtr
Source§fn from(value: TerminalOrOrPtr) -> Self
fn from(value: TerminalOrOrPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalOrPtr> for TokenNodePtr
impl From<TerminalOrPtr> for TokenNodePtr
Source§fn from(value: TerminalOrPtr) -> Self
fn from(value: TerminalOrPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalPlusEqPtr> for TokenNodePtr
impl From<TerminalPlusEqPtr> for TokenNodePtr
Source§fn from(value: TerminalPlusEqPtr) -> Self
fn from(value: TerminalPlusEqPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalPlusPtr> for TokenNodePtr
impl From<TerminalPlusPtr> for TokenNodePtr
Source§fn from(value: TerminalPlusPtr) -> Self
fn from(value: TerminalPlusPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalPubPtr> for TokenNodePtr
impl From<TerminalPubPtr> for TokenNodePtr
Source§fn from(value: TerminalPubPtr) -> Self
fn from(value: TerminalPubPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalQuestionMarkPtr> for TokenNodePtr
impl From<TerminalQuestionMarkPtr> for TokenNodePtr
Source§fn from(value: TerminalQuestionMarkPtr) -> Self
fn from(value: TerminalQuestionMarkPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalRBracePtr> for TokenNodePtr
impl From<TerminalRBracePtr> for TokenNodePtr
Source§fn from(value: TerminalRBracePtr) -> Self
fn from(value: TerminalRBracePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalRBrackPtr> for TokenNodePtr
impl From<TerminalRBrackPtr> for TokenNodePtr
Source§fn from(value: TerminalRBrackPtr) -> Self
fn from(value: TerminalRBrackPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalRParenPtr> for TokenNodePtr
impl From<TerminalRParenPtr> for TokenNodePtr
Source§fn from(value: TerminalRParenPtr) -> Self
fn from(value: TerminalRParenPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalRefPtr> for TokenNodePtr
impl From<TerminalRefPtr> for TokenNodePtr
Source§fn from(value: TerminalRefPtr) -> Self
fn from(value: TerminalRefPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalReturnPtr> for TokenNodePtr
impl From<TerminalReturnPtr> for TokenNodePtr
Source§fn from(value: TerminalReturnPtr) -> Self
fn from(value: TerminalReturnPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalSemicolonPtr> for TokenNodePtr
impl From<TerminalSemicolonPtr> for TokenNodePtr
Source§fn from(value: TerminalSemicolonPtr) -> Self
fn from(value: TerminalSemicolonPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalShortStringPtr> for TokenNodePtr
impl From<TerminalShortStringPtr> for TokenNodePtr
Source§fn from(value: TerminalShortStringPtr) -> Self
fn from(value: TerminalShortStringPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalStringPtr> for TokenNodePtr
impl From<TerminalStringPtr> for TokenNodePtr
Source§fn from(value: TerminalStringPtr) -> Self
fn from(value: TerminalStringPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalStructPtr> for TokenNodePtr
impl From<TerminalStructPtr> for TokenNodePtr
Source§fn from(value: TerminalStructPtr) -> Self
fn from(value: TerminalStructPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalTraitPtr> for TokenNodePtr
impl From<TerminalTraitPtr> for TokenNodePtr
Source§fn from(value: TerminalTraitPtr) -> Self
fn from(value: TerminalTraitPtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalTruePtr> for TokenNodePtr
impl From<TerminalTruePtr> for TokenNodePtr
Source§fn from(value: TerminalTruePtr) -> Self
fn from(value: TerminalTruePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalTypePtr> for TokenNodePtr
impl From<TerminalTypePtr> for TokenNodePtr
Source§fn from(value: TerminalTypePtr) -> Self
fn from(value: TerminalTypePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalUnderscorePtr> for TokenNodePtr
impl From<TerminalUnderscorePtr> for TokenNodePtr
Source§fn from(value: TerminalUnderscorePtr) -> Self
fn from(value: TerminalUnderscorePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalUsePtr> for TokenNodePtr
impl From<TerminalUsePtr> for TokenNodePtr
Source§fn from(value: TerminalUsePtr) -> Self
fn from(value: TerminalUsePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalWhilePtr> for TokenNodePtr
impl From<TerminalWhilePtr> for TokenNodePtr
Source§fn from(value: TerminalWhilePtr) -> Self
fn from(value: TerminalWhilePtr) -> Self
Converts to this type from the input type.
Source§impl From<TerminalXorPtr> for TokenNodePtr
impl From<TerminalXorPtr> for TokenNodePtr
Source§fn from(value: TerminalXorPtr) -> Self
fn from(value: TerminalXorPtr) -> Self
Converts to this type from the input type.
Source§impl From<TokenNodePtr> for SyntaxStablePtrId
impl From<TokenNodePtr> for SyntaxStablePtrId
Source§fn from(ptr: TokenNodePtr) -> Self
fn from(ptr: TokenNodePtr) -> Self
Converts to this type from the input type.
Source§impl Hash for TokenNodePtr
impl Hash for TokenNodePtr
Source§impl PartialEq for TokenNodePtr
impl PartialEq for TokenNodePtr
Source§impl TypedStablePtr for TokenNodePtr
impl TypedStablePtr for TokenNodePtr
type SyntaxNode = TokenNode
Source§fn untyped(&self) -> SyntaxStablePtrId
fn untyped(&self) -> SyntaxStablePtrId
Returns the untyped stable pointer.
Source§fn lookup(&self, db: &dyn SyntaxGroup) -> TokenNode
fn lookup(&self, db: &dyn SyntaxGroup) -> TokenNode
Returns the syntax node pointed to by this stable pointer.
impl Copy for TokenNodePtr
impl Eq for TokenNodePtr
impl StructuralPartialEq for TokenNodePtr
Auto Trait Implementations§
impl Freeze for TokenNodePtr
impl RefUnwindSafe for TokenNodePtr
impl Send for TokenNodePtr
impl Sync for TokenNodePtr
impl Unpin for TokenNodePtr
impl UnwindSafe for TokenNodePtr
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