Struct kalosm_sample::StringParserState
source · pub struct StringParserState { /* private fields */ }
Expand description
The state of a literal parser.
Implementations§
Trait Implementations§
source§impl Clone for StringParserState
impl Clone for StringParserState
source§fn clone(&self) -> StringParserState
fn clone(&self) -> StringParserState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StringParserState
impl Debug for StringParserState
source§impl Default for StringParserState
impl Default for StringParserState
source§fn default() -> StringParserState
fn default() -> StringParserState
Returns the “default value” for a type. Read more
source§impl PartialEq for StringParserState
impl PartialEq for StringParserState
source§fn eq(&self, other: &StringParserState) -> bool
fn eq(&self, other: &StringParserState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StringParserState
impl StructuralPartialEq for StringParserState
Auto Trait Implementations§
impl RefUnwindSafe for StringParserState
impl Send for StringParserState
impl Sync for StringParserState
impl Unpin for StringParserState
impl UnwindSafe for StringParserState
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.