pub struct CompletionMethodHit {
pub step_idx: u8,
pub tier: u8,
pub name_idx: u32,
pub method_def: GlobalDefId,
pub trait_def: GlobalDefId,
}Expand description
Matched dot-completion method candidate with autoderef step and method_res precedence tier.
Fields§
§step_idx: u8§tier: u80 = inherent, 1 = concrete/bound trait impl, 2 = blanket trait impl.
name_idx: u32§method_def: GlobalDefId§trait_def: GlobalDefIdTrait Implementations§
Source§impl Clone for CompletionMethodHit
impl Clone for CompletionMethodHit
impl Copy for CompletionMethodHit
Source§impl Debug for CompletionMethodHit
impl Debug for CompletionMethodHit
impl Eq for CompletionMethodHit
Source§impl PartialEq for CompletionMethodHit
impl PartialEq for CompletionMethodHit
impl StructuralPartialEq for CompletionMethodHit
Auto Trait Implementations§
impl Forget for CompletionMethodHit
impl Freeze for CompletionMethodHit
impl Move for CompletionMethodHit
impl RefUnwindSafe for CompletionMethodHit
impl Send for CompletionMethodHit
impl Sync for CompletionMethodHit
impl Unpin for CompletionMethodHit
impl UnsafeUnpin for CompletionMethodHit
impl UnwindSafe for CompletionMethodHit
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