Struct kalosm_sample::LiteralParserOffset
source · pub struct LiteralParserOffset { /* private fields */ }
Expand description
The state of a literal parser.
Implementations§
Trait Implementations§
source§impl Clone for LiteralParserOffset
impl Clone for LiteralParserOffset
source§fn clone(&self) -> LiteralParserOffset
fn clone(&self) -> LiteralParserOffset
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 LiteralParserOffset
impl Debug for LiteralParserOffset
source§impl Default for LiteralParserOffset
impl Default for LiteralParserOffset
source§fn default() -> LiteralParserOffset
fn default() -> LiteralParserOffset
Returns the “default value” for a type. Read more
source§impl PartialEq for LiteralParserOffset
impl PartialEq for LiteralParserOffset
source§fn eq(&self, other: &LiteralParserOffset) -> bool
fn eq(&self, other: &LiteralParserOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LiteralParserOffset
impl Eq for LiteralParserOffset
impl StructuralPartialEq for LiteralParserOffset
Auto Trait Implementations§
impl RefUnwindSafe for LiteralParserOffset
impl Send for LiteralParserOffset
impl Sync for LiteralParserOffset
impl Unpin for LiteralParserOffset
impl UnwindSafe for LiteralParserOffset
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.