Enum scylladb_parse::ArithmeticOp
source · [−]pub enum ArithmeticOp {
Add,
Sub,
Mul,
Div,
Mod,
}Variants
Add
Sub
Mul
Div
Mod
Trait Implementations
sourceimpl Clone for ArithmeticOp
impl Clone for ArithmeticOp
sourcefn clone(&self) -> ArithmeticOp
fn clone(&self) -> ArithmeticOp
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for ArithmeticOp
impl<'a> CustomToTokens<'a> for ArithmeticOp
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for ArithmeticOp
impl Debug for ArithmeticOp
sourceimpl Display for ArithmeticOp
impl Display for ArithmeticOp
sourceimpl FromStr for ArithmeticOp
impl FromStr for ArithmeticOp
sourceimpl Hash for ArithmeticOp
impl Hash for ArithmeticOp
sourceimpl Ord for ArithmeticOp
impl Ord for ArithmeticOp
sourceimpl Parse for ArithmeticOp
impl Parse for ArithmeticOp
type Output = ArithmeticOp
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<ArithmeticOp> for ArithmeticOp
impl PartialEq<ArithmeticOp> for ArithmeticOp
sourceimpl PartialOrd<ArithmeticOp> for ArithmeticOp
impl PartialOrd<ArithmeticOp> for ArithmeticOp
sourcefn partial_cmp(&self, other: &ArithmeticOp) -> Option<Ordering>
fn partial_cmp(&self, other: &ArithmeticOp) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl ToTokens for ArithmeticOp
impl ToTokens for ArithmeticOp
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourceimpl TryFrom<char> for ArithmeticOp
impl TryFrom<char> for ArithmeticOp
impl Copy for ArithmeticOp
impl Eq for ArithmeticOp
impl StructuralEq for ArithmeticOp
impl StructuralPartialEq for ArithmeticOp
Auto Trait Implementations
impl RefUnwindSafe for ArithmeticOp
impl Send for ArithmeticOp
impl Sync for ArithmeticOp
impl Unpin for ArithmeticOp
impl UnwindSafe for ArithmeticOp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more