#[non_exhaustive]pub enum ProjectionItemKind {
Wildcard,
Expression {
expression: Expr,
alias: Option<Name>,
},
}Expand description
The form of a projection item.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ProjectionItemKind
impl Clone for ProjectionItemKind
Source§impl Debug for ProjectionItemKind
impl Debug for ProjectionItemKind
impl Eq for ProjectionItemKind
Source§impl Hash for ProjectionItemKind
impl Hash for ProjectionItemKind
Source§impl PartialEq for ProjectionItemKind
impl PartialEq for ProjectionItemKind
impl StructuralPartialEq for ProjectionItemKind
Auto Trait Implementations§
impl Freeze for ProjectionItemKind
impl RefUnwindSafe for ProjectionItemKind
impl Send for ProjectionItemKind
impl Sync for ProjectionItemKind
impl Unpin for ProjectionItemKind
impl UnsafeUnpin for ProjectionItemKind
impl UnwindSafe for ProjectionItemKind
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