pub struct Var(pub Name);
Tuple Fields§
§0: Name
Implementations§
source§impl Var
impl Var
pub fn is_underscore(&self) -> bool
pub fn starts_with_underscore(&self) -> bool
Trait Implementations§
source§impl Ord for Var
impl Ord for Var
source§impl PartialOrd<Var> for Var
impl PartialOrd<Var> for Var
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Var
impl Eq for Var
impl StructuralEq for Var
impl StructuralPartialEq for Var
Auto Trait Implementations§
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnwindSafe for Var
Blanket Implementations§
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.