Struct ra_ap_hir_def::AssocItemLoc [−][src]
pub struct AssocItemLoc<N: ItemTreeNode> { pub container: AssocContainerId, pub id: ItemTreeId<N>, }
Fields
container: AssocContainerId
id: ItemTreeId<N>
Trait Implementations
impl<N: ItemTreeNode> Clone for AssocItemLoc<N>
[src]
impl<N: ItemTreeNode> Clone for AssocItemLoc<N>
[src]impl<N: Debug + ItemTreeNode> Debug for AssocItemLoc<N>
[src]
impl<N: Debug + ItemTreeNode> Debug for AssocItemLoc<N>
[src]impl<N: ItemTreeNode> HasModule for AssocItemLoc<N>
[src]
impl<N: ItemTreeNode> HasModule for AssocItemLoc<N>
[src]fn module(&self, db: &dyn DefDatabase) -> ModuleId
[src]
impl<N: ItemTreeNode> HasSource for AssocItemLoc<N>
[src]
impl<N: ItemTreeNode> HasSource for AssocItemLoc<N>
[src]impl<N: ItemTreeNode> Hash for AssocItemLoc<N>
[src]
impl<N: ItemTreeNode> Hash for AssocItemLoc<N>
[src]impl<N: ItemTreeNode> PartialEq<AssocItemLoc<N>> for AssocItemLoc<N>
[src]
impl<N: ItemTreeNode> PartialEq<AssocItemLoc<N>> for AssocItemLoc<N>
[src]impl<N: ItemTreeNode> Copy for AssocItemLoc<N>
[src]
impl<N: ItemTreeNode> Eq for AssocItemLoc<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for AssocItemLoc<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for AssocItemLoc<N> where
N: Send,
N: Send,
impl<N> Sync for AssocItemLoc<N> where
N: Sync,
N: Sync,
impl<N> Unpin for AssocItemLoc<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for AssocItemLoc<N> where
N: UnwindSafe,
N: UnwindSafe,
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,