Enum scylladb_parse::LitStrKind
source · [−]pub enum LitStrKind {
Quoted,
Escaped,
}Variants
Quoted
Escaped
Trait Implementations
sourceimpl Clone for LitStrKind
impl Clone for LitStrKind
sourcefn clone(&self) -> LitStrKind
fn clone(&self) -> LitStrKind
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 LitStrKind
impl<'a> CustomToTokens<'a> for LitStrKind
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for LitStrKind
impl Debug for LitStrKind
sourceimpl Hash for LitStrKind
impl Hash for LitStrKind
sourceimpl Ord for LitStrKind
impl Ord for LitStrKind
sourceimpl PartialEq<LitStrKind> for LitStrKind
impl PartialEq<LitStrKind> for LitStrKind
sourceimpl PartialOrd<LitStrKind> for LitStrKind
impl PartialOrd<LitStrKind> for LitStrKind
sourcefn partial_cmp(&self, other: &LitStrKind) -> Option<Ordering>
fn partial_cmp(&self, other: &LitStrKind) -> 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 LitStrKind
impl ToTokens for LitStrKind
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
impl Copy for LitStrKind
impl Eq for LitStrKind
impl StructuralEq for LitStrKind
impl StructuralPartialEq for LitStrKind
Auto Trait Implementations
impl RefUnwindSafe for LitStrKind
impl Send for LitStrKind
impl Sync for LitStrKind
impl Unpin for LitStrKind
impl UnwindSafe for LitStrKind
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