pub struct ExprGreen(pub GreenId);
Tuple Fields§
§0: GreenId
Trait Implementations§
Source§impl From<ExprBinaryGreen> for ExprGreen
impl From<ExprBinaryGreen> for ExprGreen
Source§fn from(value: ExprBinaryGreen) -> Self
fn from(value: ExprBinaryGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprBlockGreen> for ExprGreen
impl From<ExprBlockGreen> for ExprGreen
Source§fn from(value: ExprBlockGreen) -> Self
fn from(value: ExprBlockGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprClosureGreen> for ExprGreen
impl From<ExprClosureGreen> for ExprGreen
Source§fn from(value: ExprClosureGreen) -> Self
fn from(value: ExprClosureGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprErrorPropagateGreen> for ExprGreen
impl From<ExprErrorPropagateGreen> for ExprGreen
Source§fn from(value: ExprErrorPropagateGreen) -> Self
fn from(value: ExprErrorPropagateGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprFieldInitShorthandGreen> for ExprGreen
impl From<ExprFieldInitShorthandGreen> for ExprGreen
Source§fn from(value: ExprFieldInitShorthandGreen) -> Self
fn from(value: ExprFieldInitShorthandGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprFixedSizeArrayGreen> for ExprGreen
impl From<ExprFixedSizeArrayGreen> for ExprGreen
Source§fn from(value: ExprFixedSizeArrayGreen) -> Self
fn from(value: ExprFixedSizeArrayGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprForGreen> for ExprGreen
impl From<ExprForGreen> for ExprGreen
Source§fn from(value: ExprForGreen) -> Self
fn from(value: ExprForGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprFunctionCallGreen> for ExprGreen
impl From<ExprFunctionCallGreen> for ExprGreen
Source§fn from(value: ExprFunctionCallGreen) -> Self
fn from(value: ExprFunctionCallGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprIfGreen> for ExprGreen
impl From<ExprIfGreen> for ExprGreen
Source§fn from(value: ExprIfGreen) -> Self
fn from(value: ExprIfGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprIndexedGreen> for ExprGreen
impl From<ExprIndexedGreen> for ExprGreen
Source§fn from(value: ExprIndexedGreen) -> Self
fn from(value: ExprIndexedGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprInlineMacroGreen> for ExprGreen
impl From<ExprInlineMacroGreen> for ExprGreen
Source§fn from(value: ExprInlineMacroGreen) -> Self
fn from(value: ExprInlineMacroGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprListParenthesizedGreen> for ExprGreen
impl From<ExprListParenthesizedGreen> for ExprGreen
Source§fn from(value: ExprListParenthesizedGreen) -> Self
fn from(value: ExprListParenthesizedGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprLoopGreen> for ExprGreen
impl From<ExprLoopGreen> for ExprGreen
Source§fn from(value: ExprLoopGreen) -> Self
fn from(value: ExprLoopGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprMatchGreen> for ExprGreen
impl From<ExprMatchGreen> for ExprGreen
Source§fn from(value: ExprMatchGreen) -> Self
fn from(value: ExprMatchGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprMissingGreen> for ExprGreen
impl From<ExprMissingGreen> for ExprGreen
Source§fn from(value: ExprMissingGreen) -> Self
fn from(value: ExprMissingGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprParenthesizedGreen> for ExprGreen
impl From<ExprParenthesizedGreen> for ExprGreen
Source§fn from(value: ExprParenthesizedGreen) -> Self
fn from(value: ExprParenthesizedGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprPathGreen> for ExprGreen
impl From<ExprPathGreen> for ExprGreen
Source§fn from(value: ExprPathGreen) -> Self
fn from(value: ExprPathGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprStructCtorCallGreen> for ExprGreen
impl From<ExprStructCtorCallGreen> for ExprGreen
Source§fn from(value: ExprStructCtorCallGreen) -> Self
fn from(value: ExprStructCtorCallGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprUnaryGreen> for ExprGreen
impl From<ExprUnaryGreen> for ExprGreen
Source§fn from(value: ExprUnaryGreen) -> Self
fn from(value: ExprUnaryGreen) -> Self
Converts to this type from the input type.
Source§impl From<ExprWhileGreen> for ExprGreen
impl From<ExprWhileGreen> for ExprGreen
Source§fn from(value: ExprWhileGreen) -> Self
fn from(value: ExprWhileGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalFalseGreen> for ExprGreen
impl From<TerminalFalseGreen> for ExprGreen
Source§fn from(value: TerminalFalseGreen) -> Self
fn from(value: TerminalFalseGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalLiteralNumberGreen> for ExprGreen
impl From<TerminalLiteralNumberGreen> for ExprGreen
Source§fn from(value: TerminalLiteralNumberGreen) -> Self
fn from(value: TerminalLiteralNumberGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalShortStringGreen> for ExprGreen
impl From<TerminalShortStringGreen> for ExprGreen
Source§fn from(value: TerminalShortStringGreen) -> Self
fn from(value: TerminalShortStringGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalStringGreen> for ExprGreen
impl From<TerminalStringGreen> for ExprGreen
Source§fn from(value: TerminalStringGreen) -> Self
fn from(value: TerminalStringGreen) -> Self
Converts to this type from the input type.
Source§impl From<TerminalTrueGreen> for ExprGreen
impl From<TerminalTrueGreen> for ExprGreen
Source§fn from(value: TerminalTrueGreen) -> Self
fn from(value: TerminalTrueGreen) -> Self
Converts to this type from the input type.
impl Copy for ExprGreen
impl Eq for ExprGreen
impl StructuralPartialEq for ExprGreen
Auto Trait Implementations§
impl Freeze for ExprGreen
impl RefUnwindSafe for ExprGreen
impl Send for ExprGreen
impl Sync for ExprGreen
impl Unpin for ExprGreen
impl UnwindSafe for ExprGreen
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