#[repr(i32)]pub enum ExprKindCase {
Unspecified = 0,
Constant = 1,
Ident = 2,
Select = 3,
Call = 4,
List = 5,
Struct = 6,
Map = 7,
Comprehension = 8,
}Variants§
Unspecified = 0
Constant = 1
Ident = 2
Select = 3
Call = 4
List = 5
Struct = 6
Map = 7
Comprehension = 8
Implementations§
Source§impl ExprKindCase
impl ExprKindCase
pub fn is_unspecified(&self) -> bool
pub fn is_constant(&self) -> bool
pub fn is_ident(&self) -> bool
pub fn is_select(&self) -> bool
pub fn is_call(&self) -> bool
pub fn is_list(&self) -> bool
pub fn is_struct(&self) -> bool
pub fn is_map(&self) -> bool
pub fn is_comprehension(&self) -> bool
Trait Implementations§
Source§impl Clone for ExprKindCase
impl Clone for ExprKindCase
Source§fn clone(&self) -> ExprKindCase
fn clone(&self) -> ExprKindCase
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExprKindCase
impl Debug for ExprKindCase
Source§impl ExternType for ExprKindCase
impl ExternType for ExprKindCase
Source§impl Hash for ExprKindCase
impl Hash for ExprKindCase
Source§impl PartialEq for ExprKindCase
impl PartialEq for ExprKindCase
impl Copy for ExprKindCase
impl Eq for ExprKindCase
impl StructuralPartialEq for ExprKindCase
Auto Trait Implementations§
impl Freeze for ExprKindCase
impl RefUnwindSafe for ExprKindCase
impl Send for ExprKindCase
impl Sync for ExprKindCase
impl Unpin for ExprKindCase
impl UnwindSafe for ExprKindCase
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)