Enum sqlite3_parser::ast::LikeOperator
source · pub enum LikeOperator {
Glob,
Like,
Match,
Regexp,
}
Expand description
Textual comparison operator in an expression
Variants§
Implementations§
source§impl LikeOperator
impl LikeOperator
sourcepub fn from_token(token_type: u16, token: Token) -> LikeOperator
pub fn from_token(token_type: u16, token: Token) -> LikeOperator
Constructor
Trait Implementations§
source§impl Clone for LikeOperator
impl Clone for LikeOperator
source§fn clone(&self) -> LikeOperator
fn clone(&self) -> LikeOperator
Returns a copy 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 LikeOperator
impl Debug for LikeOperator
source§impl PartialEq for LikeOperator
impl PartialEq for LikeOperator
source§fn eq(&self, other: &LikeOperator) -> bool
fn eq(&self, other: &LikeOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToTokens for LikeOperator
impl ToTokens for LikeOperator
impl Copy for LikeOperator
impl Eq for LikeOperator
impl StructuralPartialEq for LikeOperator
Auto Trait Implementations§
impl Freeze for LikeOperator
impl RefUnwindSafe for LikeOperator
impl Send for LikeOperator
impl Sync for LikeOperator
impl Unpin for LikeOperator
impl UnwindSafe for LikeOperator
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.