Struct flexi_parse::token::LitChar
source · pub struct LitChar { /* private fields */ }Expand description
A character literal delimited by single quotes.
See also SingleQuotes.
Implementations§
Trait Implementations§
source§impl Ord for LitChar
impl Ord for LitChar
source§impl Parse for LitChar
impl Parse for LitChar
source§fn parse(input: ParseStream<'_>) -> Result<Self>
fn parse(input: ParseStream<'_>) -> Result<Self>
Parses the input into this type.
source§impl PartialEq for LitChar
impl PartialEq for LitChar
source§impl PartialOrd for LitChar
impl PartialOrd for LitChar
1.0.0 · source§fn 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 moreimpl Eq for LitChar
Auto Trait Implementations§
impl RefUnwindSafe for LitChar
impl !Send for LitChar
impl !Sync for LitChar
impl Unpin for LitChar
impl UnwindSafe for LitChar
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