pub struct CloseBrace;Expand description
Chars that represents the respective utf-8 character.
Trait Implementations§
Source§impl Consumable for CloseBrace
impl Consumable for CloseBrace
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 CloseBrace
impl Debug for CloseBrace
Source§impl From<CloseBrace> for char
impl From<CloseBrace> for char
Source§fn from(_: CloseBrace) -> char
fn from(_: CloseBrace) -> char
Converts to this type from the input type.
Source§impl From<CloseBrace> for u8
impl From<CloseBrace> for u8
Source§fn from(_: CloseBrace) -> u8
fn from(_: CloseBrace) -> u8
Converts to this type from the input type.
Source§impl PartialEq for CloseBrace
impl PartialEq for CloseBrace
impl StructuralPartialEq for CloseBrace
Auto Trait Implementations§
impl Freeze for CloseBrace
impl RefUnwindSafe for CloseBrace
impl Send for CloseBrace
impl Sync for CloseBrace
impl Unpin for CloseBrace
impl UnwindSafe for CloseBrace
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