Enum ra_ap_hir::BindingMode
source · pub enum BindingMode {
Move,
Ref(Mutability),
}
Variants§
Move
Ref(Mutability)
Trait Implementations§
source§impl Clone for BindingMode
impl Clone for BindingMode
source§fn clone(&self) -> BindingMode
fn clone(&self) -> BindingMode
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 BindingMode
impl Debug for BindingMode
source§impl PartialEq<BindingMode> for BindingMode
impl PartialEq<BindingMode> for BindingMode
source§fn eq(&self, other: &BindingMode) -> bool
fn eq(&self, other: &BindingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BindingMode
impl Eq for BindingMode
impl StructuralEq for BindingMode
impl StructuralPartialEq for BindingMode
Auto Trait Implementations§
impl RefUnwindSafe for BindingMode
impl Send for BindingMode
impl Sync for BindingMode
impl Unpin for BindingMode
impl UnwindSafe for BindingMode
Blanket Implementations§
§impl<T> Cast for T
impl<T> Cast for T
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.