pub struct UnresolvedMethodCall<'db> {
pub expr: InFile<ExprOrPatPtr>,
pub receiver: Type<'db>,
pub name: Name,
pub field_with_same_name: Option<Type<'db>>,
pub assoc_func_with_same_name: Option<Function>,
}Fields§
§expr: InFile<ExprOrPatPtr>§receiver: Type<'db>§name: Name§field_with_same_name: Option<Type<'db>>§assoc_func_with_same_name: Option<Function>Trait Implementations§
Source§impl<'db> Debug for UnresolvedMethodCall<'db>
impl<'db> Debug for UnresolvedMethodCall<'db>
Source§impl<'db> From<UnresolvedMethodCall<'db>> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedMethodCall<'db>> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedMethodCall<'db>) -> AnyDiagnostic<'db>
fn from(d: UnresolvedMethodCall<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'db> Freeze for UnresolvedMethodCall<'db>
impl<'db> !RefUnwindSafe for UnresolvedMethodCall<'db>
impl<'db> Send for UnresolvedMethodCall<'db>
impl<'db> Sync for UnresolvedMethodCall<'db>
impl<'db> Unpin for UnresolvedMethodCall<'db>
impl<'db> !UnwindSafe for UnresolvedMethodCall<'db>
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more