Enum rustc::ty::adjustment::CustomCoerceUnsized [] [src]

pub enum CustomCoerceUnsized {
    Struct(usize),
}
Unstable (rustc_private)

Variants

Struct(usize)
Unstable (rustc_private)

Records the index of the field being coerced.

Trait Implementations

Derived Implementations

impl Debug for CustomCoerceUnsized
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Decodable for CustomCoerceUnsized
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<CustomCoerceUnsized, __D::Error>

impl Encodable for CustomCoerceUnsized
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Copy for CustomCoerceUnsized
[src]

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