Struct rustc_typeck::check::method::MethodCallee [−][src]
pub struct MethodCallee<'tcx> { pub def_id: DefId, pub substs: &'tcx Substs<'tcx>, pub sig: FnSig<'tcx>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
def_id: DefId
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Impl method ID, for inherent methods, or trait method ID, otherwise.
substs: &'tcx Substs<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
sig: FnSig<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Instantiated method signature, i.e. it has been substituted, normalized, and has had late-bound lifetimes replaced with inference variables.
Trait Implementations
impl<'tcx> Clone for MethodCallee<'tcx>
[src]
impl<'tcx> Clone for MethodCallee<'tcx>
fn clone(&self) -> MethodCallee<'tcx>
[src]
fn clone(&self) -> MethodCallee<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'tcx> Copy for MethodCallee<'tcx>
[src]
impl<'tcx> Copy for MethodCallee<'tcx>
impl<'tcx> Debug for MethodCallee<'tcx>
[src]
impl<'tcx> Debug for MethodCallee<'tcx>
Auto Trait Implementations
impl<'tcx> !Send for MethodCallee<'tcx>
impl<'tcx> !Send for MethodCallee<'tcx>
impl<'tcx> !Sync for MethodCallee<'tcx>
impl<'tcx> !Sync for MethodCallee<'tcx>