Enum jrsonnet_parser::LiteralType
source · pub enum LiteralType {
This,
Super,
Dollar,
Null,
True,
False,
}
Variants§
Trait Implementations§
source§impl Clone for LiteralType
impl Clone for LiteralType
source§fn clone(&self) -> LiteralType
fn clone(&self) -> LiteralType
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 LiteralType
impl Debug for LiteralType
source§impl PartialEq<LiteralType> for LiteralType
impl PartialEq<LiteralType> for LiteralType
source§fn eq(&self, other: &LiteralType) -> bool
fn eq(&self, other: &LiteralType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Trace for LiteralType
impl Trace for LiteralType
impl Copy for LiteralType
impl Eq for LiteralType
impl StructuralEq for LiteralType
impl StructuralPartialEq for LiteralType
Auto Trait Implementations§
impl RefUnwindSafe for LiteralType
impl Send for LiteralType
impl Sync for LiteralType
impl Unpin for LiteralType
impl UnwindSafe for LiteralType
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more