pub struct DoubleQuotes;Expand description
Chars that represents the respective utf-8 character.
Trait Implementations§
Source§impl Consumable for DoubleQuotes
impl Consumable for DoubleQuotes
Source§fn consume_from(source: &str) -> Result<(Self, &str), ConsumeError>
fn consume_from(source: &str) -> Result<(Self, &str), ConsumeError>
Attempt consume from
source to form an item of Self. When consuming is
succesful, it returns the item along with the unconsumed part of the source.
When consuming is unsuccesful it returns the corresponding error. Read moreSource§fn consume_how_many_from(
source: &str,
) -> Result<(Self, &str, usize), ConsumeError>
fn consume_how_many_from( source: &str, ) -> Result<(Self, &str, usize), ConsumeError>
Attempt consume from
source to form an item of Self. When consuming is
succesful, it returns the item along with the unconsumed part of the source
and the amount of consumed characters.
When consuming is unsuccesful it returns the corresponding error. Read moreSource§fn consume_iter<'a>(source: &'a str) -> ConsumeIter<'a, Self> ⓘ
fn consume_iter<'a>(source: &'a str) -> ConsumeIter<'a, Self> ⓘ
Source§impl Debug for DoubleQuotes
impl Debug for DoubleQuotes
Source§impl From<DoubleQuotes> for char
impl From<DoubleQuotes> for char
Source§fn from(_: DoubleQuotes) -> char
fn from(_: DoubleQuotes) -> char
Converts to this type from the input type.
Source§impl From<DoubleQuotes> for u8
impl From<DoubleQuotes> for u8
Source§fn from(_: DoubleQuotes) -> u8
fn from(_: DoubleQuotes) -> u8
Converts to this type from the input type.
Source§impl PartialEq for DoubleQuotes
impl PartialEq for DoubleQuotes
impl StructuralPartialEq for DoubleQuotes
Auto Trait Implementations§
impl Freeze for DoubleQuotes
impl RefUnwindSafe for DoubleQuotes
impl Send for DoubleQuotes
impl Sync for DoubleQuotes
impl Unpin for DoubleQuotes
impl UnwindSafe for DoubleQuotes
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more