pub enum AcceptSet {
CloseBracket,
CloseParenthesis,
Dot,
HexChar,
StringChar,
StringEscape,
Value,
EOF,
}
Expand description
A set of acceptable characters.
Variants§
CloseBracket
A closing bracket.
CloseParenthesis
A closing parenthesis.
Dot
A dot for a dotted list.
HexChar
A hexadecimal digit.
StringChar
A character in the body of a string.
StringEscape
A string escape character.
Value
A value.
EOF
The end of the input stream.
Trait Implementations§
Source§impl Trace for AcceptSet
impl Trace for AcceptSet
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects
impl Eq for AcceptSet
impl StructuralPartialEq for AcceptSet
Auto Trait Implementations§
impl Freeze for AcceptSet
impl RefUnwindSafe for AcceptSet
impl Send for AcceptSet
impl Sync for AcceptSet
impl Unpin for AcceptSet
impl UnwindSafe for AcceptSet
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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