Enum rustc::ty::adjustment::CustomCoerceUnsized
[−]
[src]
pub enum CustomCoerceUnsized {
Struct(usize),
}🔬 This is a nightly-only experimental API. (
rustc_private)Variants
Struct(usize)🔬 This is a nightly-only experimental API. (
rustc_private)Records the index of the field being coerced.
Trait Implementations
impl Clone for CustomCoerceUnsized[src]
fn clone(&self) -> CustomCoerceUnsized
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 Copy for CustomCoerceUnsized[src]
impl Encodable for CustomCoerceUnsized[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 Decodable for CustomCoerceUnsized[src]
fn decode<__D: Decoder>(__arg_0: &mut __D)
-> Result<CustomCoerceUnsized, __D::Error>
-> Result<CustomCoerceUnsized, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io