Struct rustc::ty::MethodCallee
[−]
[src]
pub struct MethodCallee<'tcx> { pub def_id: DefId, pub ty: Ty<'tcx>, pub substs: &'tcx Substs<'tcx>, }
🔬 This is a nightly-only experimental API. (
rustc_private
)Fields
def_id: DefId
🔬 This is a nightly-only experimental API. (
rustc_private
)Impl method ID, for inherent methods, or trait method ID, otherwise.
ty: Ty<'tcx>
🔬 This is a nightly-only experimental API. (
rustc_private
)substs: &'tcx Substs<'tcx>
🔬 This is a nightly-only experimental API. (
rustc_private
)Trait Implementations
impl<'tcx> Clone for 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
Performs copy-assignment from source
. Read more
impl<'tcx> Copy for MethodCallee<'tcx>
[src]
impl<'tcx> Debug for MethodCallee<'tcx>
[src]
impl<'tcx> Decodable for MethodCallee<'tcx>
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D)
-> Result<MethodCallee<'tcx>, __D::Error>
-> Result<MethodCallee<'tcx>, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io