Struct rustc::middle::ty::TransmuteRestriction[src]
pub struct TransmuteRestriction {
pub span: Span,
pub from: t,
pub to: t,
}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. |