pub enum ExpressionKind {
Show 45 variants
Literal,
Function,
Lambda,
Block,
Let,
Identifier,
Call,
If,
IfLet,
Match,
Tuple,
StructCall,
DotAccess,
Assignment,
Return,
Propagate,
TryBlock,
RecoverBlock,
ImplBlock,
Binary,
Unary,
Paren,
Const,
VariableDeclaration,
RawGo,
Loop,
While,
WhileLet,
For,
Break,
Continue,
Enum,
Struct,
TypeAlias,
ModuleImport,
Reference,
Interface,
IndexedAccess,
Task,
Defer,
Select,
Unit,
Range,
Cast,
NoOp,
}Expand description
Dataless variant index of Expression, usable as an array index.
Variants§
Literal
Function
Lambda
Block
Let
Identifier
Call
If
IfLet
Match
Tuple
StructCall
DotAccess
Assignment
Return
Propagate
TryBlock
RecoverBlock
ImplBlock
Binary
Unary
Paren
Const
VariableDeclaration
RawGo
Loop
While
WhileLet
For
Break
Continue
Enum
Struct
TypeAlias
ModuleImport
Reference
Interface
IndexedAccess
Task
Defer
Select
Unit
Range
Cast
NoOp
Implementations§
Trait Implementations§
Source§impl Clone for ExpressionKind
impl Clone for ExpressionKind
Source§fn clone(&self) -> ExpressionKind
fn clone(&self) -> ExpressionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExpressionKind
Auto Trait Implementations§
impl Freeze for ExpressionKind
impl RefUnwindSafe for ExpressionKind
impl Send for ExpressionKind
impl Sync for ExpressionKind
impl Unpin for ExpressionKind
impl UnsafeUnpin for ExpressionKind
impl UnwindSafe for ExpressionKind
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