pub struct Keyword {
pub name: &'static str,
pub token: u16,
pub category: Category,
pub bare_label: bool,
}Expand description
One keyword.
Fields§
§name: &'static strThe word, in lower case.
token: u16The token that the lexer gives for it.
category: CategoryWhere the word can be a name.
bare_label: boolTrue when the word can be a column label without AS.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnsafeUnpin for Keyword
impl UnwindSafe for Keyword
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