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