Struct moniker::BoundVar [−][src]
pub struct BoundVar<N> { pub scope: ScopeOffset, pub binder: BinderIndex, pub pretty_name: Option<N>, }
Fields
scope: ScopeOffset
binder: BinderIndex
pretty_name: Option<N>
Trait Implementations
impl<N: Debug> Debug for BoundVar<N>
[src]
impl<N: Debug> Debug for BoundVar<N>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<N: Clone> Clone for BoundVar<N>
[src]
impl<N: Clone> Clone for BoundVar<N>
fn clone(&self) -> BoundVar<N>
[src]
fn clone(&self) -> BoundVar<N>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<N> PartialEq for BoundVar<N>
[src]
impl<N> PartialEq for BoundVar<N>
fn eq(&self, other: &BoundVar<N>) -> bool
[src]
fn eq(&self, other: &BoundVar<N>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl<N> Eq for BoundVar<N>
[src]
impl<N> Eq for BoundVar<N>
impl<N> Hash for BoundVar<N> where
N: Hash,
[src]
impl<N> Hash for BoundVar<N> where
N: Hash,
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<N: Display> Display for BoundVar<N>
[src]
impl<N: Display> Display for BoundVar<N>