Struct ra_ap_hir_def::generics::LifetimeParamData
source · pub struct LifetimeParamData {
pub name: Name,
}
Expand description
Data about a generic lifetime parameter (to a function, struct, impl, …).
Fields§
§name: Name
Trait Implementations§
source§impl Clone for LifetimeParamData
impl Clone for LifetimeParamData
source§fn clone(&self) -> LifetimeParamData
fn clone(&self) -> LifetimeParamData
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 LifetimeParamData
impl Debug for LifetimeParamData
source§impl Hash for LifetimeParamData
impl Hash for LifetimeParamData
source§impl PartialEq<LifetimeParamData> for LifetimeParamData
impl PartialEq<LifetimeParamData> for LifetimeParamData
source§fn eq(&self, other: &LifetimeParamData) -> bool
fn eq(&self, other: &LifetimeParamData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LifetimeParamData
impl StructuralEq for LifetimeParamData
impl StructuralPartialEq for LifetimeParamData
Auto Trait Implementations§
impl RefUnwindSafe for LifetimeParamData
impl Send for LifetimeParamData
impl Sync for LifetimeParamData
impl Unpin for LifetimeParamData
impl UnwindSafe for LifetimeParamData
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.