pub enum MethodOwner {
Impl,
TraitDefault,
}Expand description
Where a DefKind::Method lives.
Variants§
Impl
A method defined in an impl block (item_index → the impl item).
TraitDefault
A default-method body in a trait declaration (item_index → the
trait item, method_index → its functions-style provided list).
Trait Implementations§
Source§impl Clone for MethodOwner
impl Clone for MethodOwner
impl Copy for MethodOwner
Source§impl Debug for MethodOwner
impl Debug for MethodOwner
impl Eq for MethodOwner
Source§impl PartialEq for MethodOwner
impl PartialEq for MethodOwner
impl StructuralPartialEq for MethodOwner
Auto Trait Implementations§
impl Freeze for MethodOwner
impl RefUnwindSafe for MethodOwner
impl Send for MethodOwner
impl Sync for MethodOwner
impl Unpin for MethodOwner
impl UnsafeUnpin for MethodOwner
impl UnwindSafe for MethodOwner
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.