Enum rustc::middle::ty::AutoRefExperimental
[-]
[+]
[src]
pub enum AutoRef {
AutoPtr(Region, Mutability, Option<Box<AutoRef>>),
AutoUnsize(UnsizeKind),
AutoUnsizeUniq(UnsizeKind),
AutoUnsafe(Mutability, Option<Box<AutoRef>>),
}Variants
AutoPtr | Convert from T to &T The third field allows us to wrap other AutoRef adjustments. |
AutoUnsize | Convert [T, ..n] to T |
AutoUnsizeUniq | Convert Box<[T, ..n]> to Box<[T]> or something similar in a Box. With DST and Box a library type, this should be replaced by UnsizeStruct. |
AutoUnsafe | Convert from T to *T Value to thin pointer The second field allows us to wrap other AutoRef adjustments. |