[−][src]Enum ocarina::grammar::Keyword
Variants
SELECT
FROM
WHERE
ORDER
BY
CREATE
TABLE
TRIGGER
DATABASE
IF
ELSE
END
DESC
ASC
AS
TOP
BOTTOM
DISTINCT
LIMIT
OFFSET
GROUP
HAVING
JOIN
LIKE
IN
AND
UNKNOWN
Methods
impl Keyword
[src]
pub fn value_for_command(&self) -> i32
[src]
pub fn needs_data(&self) -> bool
[src]
pub fn bigger_than(&self, comparator: &Keyword) -> bool
[src]
pub fn compare_command(&self, comparator: &Keyword) -> i32
[src]
compare the assigned values to a command in order to check what command has a higher importance level.
If the command value of the first element is bigger than the value of the parameter_keyword, the function will return 1; If they have the same value, it will return 0; If the value of the given element is smaller than the parameter_keyword, the function will return -1;
Trait Implementations
impl PartialEq<Keyword> for Keyword
[src]
fn eq(&self, other: &Keyword) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Debug for Keyword
[src]
impl Display for Keyword
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,