Struct moore_svlog::typeck::CastType [−][src]
pub struct CastType<'a> {
pub init: &'a UnpackedType<'a>,
pub ty: &'a UnpackedType<'a>,
pub casts: Vec<(CastOp, &'a UnpackedType<'a>)>,
}
Expand description
A type resulting from a sequence of casts.
Fields
init: &'a UnpackedType<'a>
The initial type before casting.
ty: &'a UnpackedType<'a>
The final type after casting.
casts: Vec<(CastOp, &'a UnpackedType<'a>)>
The cast operations that lead to the result.
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CastType<'a>
impl<'a> !UnwindSafe for CastType<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more