Struct scylladb_parse::LitStr
source · [−]pub struct LitStr {
pub kind: LitStrKind,
pub value: String,
}Fields
kind: LitStrKindvalue: StringImplementations
Trait Implementations
sourceimpl<'a> CustomToTokens<'a> for LitStr
impl<'a> CustomToTokens<'a> for LitStr
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Ord for LitStr
impl Ord for LitStr
sourceimpl PartialOrd<LitStr> for LitStr
impl PartialOrd<LitStr> for LitStr
sourcefn partial_cmp(&self, other: &LitStr) -> Option<Ordering>
fn partial_cmp(&self, other: &LitStr) -> 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 LitStr
impl ToTokens for LitStr
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 Eq for LitStr
impl StructuralEq for LitStr
impl StructuralPartialEq for LitStr
Auto Trait Implementations
impl RefUnwindSafe for LitStr
impl Send for LitStr
impl Sync for LitStr
impl Unpin for LitStr
impl UnwindSafe for LitStr
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