Struct rustc_trans::middle::ty::TransmuteRestrictionExperimental
[-]
[+]
[src]
pub struct TransmuteRestriction<'tcx> {
pub span: Span,
pub from: &'tcx TyS<'tcx>,
pub to: &'tcx TyS<'tcx>,
pub id: u32,
}A restriction that certain types must be the same size. The use of
transmute gives rise to these restrictions.
Fields
span | The span from whence the restriction comes. |
from | The type being transmuted from. |
to | The type being transmuted to. |
id | NodeIf of the transmute intrinsic. |