Enum ra_ap_hir::import_map::AssocSearchMode
source · pub enum AssocSearchMode {
Include,
Exclude,
AssocItemsOnly,
}
Expand description
Three possible ways to search for the name in associated and/or other items.
Variants§
Include
Search for the name in both associated and other items.
Exclude
Search for the name in other items only.
AssocItemsOnly
Search for the name in the associated items only.
Trait Implementations§
source§impl Clone for AssocSearchMode
impl Clone for AssocSearchMode
source§fn clone(&self) -> AssocSearchMode
fn clone(&self) -> AssocSearchMode
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 AssocSearchMode
impl Debug for AssocSearchMode
impl Copy for AssocSearchMode
Auto Trait Implementations§
impl Freeze for AssocSearchMode
impl RefUnwindSafe for AssocSearchMode
impl Send for AssocSearchMode
impl Sync for AssocSearchMode
impl Unpin for AssocSearchMode
impl UnwindSafe for AssocSearchMode
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> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.