Struct rustc::ty::adjustment::Adjustment
[−]
[src]
pub struct Adjustment<'tcx> { pub kind: Adjust<'tcx>, pub target: Ty<'tcx>, }
🔬 This is a nightly-only experimental API. (
rustc_private
)Fields
kind: Adjust<'tcx>
🔬 This is a nightly-only experimental API. (
rustc_private
)target: Ty<'tcx>
🔬 This is a nightly-only experimental API. (
rustc_private
)Methods
impl<'tcx> Adjustment<'tcx>
[src]
fn is_identity(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)Trait Implementations
impl<'tcx> Copy for Adjustment<'tcx>
[src]
impl<'tcx> Clone for Adjustment<'tcx>
[src]
fn clone(&self) -> Adjustment<'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> Encodable for Adjustment<'tcx>
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io
impl<'tcx> Decodable for Adjustment<'tcx>
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D)
-> Result<Adjustment<'tcx>, __D::Error>
-> Result<Adjustment<'tcx>, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io