Struct cairo_lang_syntax::node::ast::ExprGreen
source · pub struct ExprGreen(pub GreenId);Tuple Fields§
§0: GreenIdTrait 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<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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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<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> 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