Enum ra_ap_syntax::ast::SelfParamKind
source · pub enum SelfParamKind {
Owned,
Ref,
MutRef,
}
Variants§
Trait Implementations§
source§impl Clone for SelfParamKind
impl Clone for SelfParamKind
source§fn clone(&self) -> SelfParamKind
fn clone(&self) -> SelfParamKind
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 SelfParamKind
impl Debug for SelfParamKind
source§impl Hash for SelfParamKind
impl Hash for SelfParamKind
source§impl PartialEq for SelfParamKind
impl PartialEq for SelfParamKind
source§fn eq(&self, other: &SelfParamKind) -> bool
fn eq(&self, other: &SelfParamKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SelfParamKind
impl Eq for SelfParamKind
impl StructuralPartialEq for SelfParamKind
Auto Trait Implementations§
impl Freeze for SelfParamKind
impl RefUnwindSafe for SelfParamKind
impl Send for SelfParamKind
impl Sync for SelfParamKind
impl Unpin for SelfParamKind
impl UnwindSafe for SelfParamKind
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.