#[repr(i32)]pub enum KeywordKind {
NoKeyword = 0,
UnreservedKeyword = 1,
ColNameKeyword = 2,
TypeFuncNameKeyword = 3,
ReservedKeyword = 4,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for KeywordKind
impl Clone for KeywordKind
Source§fn clone(&self) -> KeywordKind
fn clone(&self) -> KeywordKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KeywordKind
impl Debug for KeywordKind
Source§impl Default for KeywordKind
impl Default for KeywordKind
Source§fn default() -> KeywordKind
fn default() -> KeywordKind
Returns the “default value” for a type. Read more
Source§impl From<KeywordKind> for i32
impl From<KeywordKind> for i32
Source§fn from(value: KeywordKind) -> i32
fn from(value: KeywordKind) -> i32
Converts to this type from the input type.
Source§impl Hash for KeywordKind
impl Hash for KeywordKind
Source§impl Ord for KeywordKind
impl Ord for KeywordKind
Source§fn cmp(&self, other: &KeywordKind) -> Ordering
fn cmp(&self, other: &KeywordKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KeywordKind
impl PartialEq for KeywordKind
Source§impl PartialOrd for KeywordKind
impl PartialOrd for KeywordKind
impl Copy for KeywordKind
impl Eq for KeywordKind
impl StructuralPartialEq for KeywordKind
Auto Trait Implementations§
impl Freeze for KeywordKind
impl RefUnwindSafe for KeywordKind
impl Send for KeywordKind
impl Sync for KeywordKind
impl Unpin for KeywordKind
impl UnwindSafe for KeywordKind
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