Struct ra_ap_hir_def::ImplId [−][src]
pub struct ImplId(_);
Trait Implementations
impl ChildBySource for ImplId
[src]
impl ChildBySource for ImplId
[src]fn child_by_source_to(&self, db: &dyn DefDatabase, res: &mut DynMap)
[src]
fn child_by_source(&self, db: &dyn DefDatabase) -> DynMap
[src]
impl From<ImplId> for GenericDefId
[src]
impl From<ImplId> for GenericDefId
[src]fn from(it: ImplId) -> GenericDefId
[src]
fn from(it: ImplId) -> GenericDefId
[src]Performs the conversion.
impl HasResolver for ImplId
[src]
impl HasResolver for ImplId
[src]fn resolver(self, db: &dyn DefDatabase) -> Resolver
[src]
fn resolver(self, db: &dyn DefDatabase) -> Resolver
[src]Builds a resolver for type references inside this def.
impl InternKey for ImplId
[src]
impl InternKey for ImplId
[src]fn from_intern_id(v: InternId) -> Self
[src]
fn from_intern_id(v: InternId) -> Self
[src]Create an instance of the intern-key from a u32
value.
fn as_intern_id(&self) -> InternId
[src]
fn as_intern_id(&self) -> InternId
[src]Extract the u32
with which the intern-key was created.
impl Ord for ImplId
[src]
impl Ord for ImplId
[src]impl PartialOrd<ImplId> for ImplId
[src]
impl PartialOrd<ImplId> for ImplId
[src]fn partial_cmp(&self, other: &ImplId) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ImplId) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ImplId
[src]
impl Eq for ImplId
[src]
impl StructuralEq for ImplId
[src]
impl StructuralPartialEq for ImplId
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImplId
impl Send for ImplId
impl Sync for ImplId
impl Unpin for ImplId
impl UnwindSafe for ImplId
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> CloneAny for T where
T: Any + Clone,
[src]
T: Any + Clone,