Trait moore_svlog::ty::TypeContext [−][src]
pub trait TypeContext<'a> {
fn intern_packed(&self, ty: PackedType<'a>) -> &'a PackedType<'a>;
fn intern_unpacked(&self, ty: UnpackedType<'a>) -> &'a UnpackedType<'a>;
}
Expand description
A container for type operations.
Required methods
fn intern_packed(&self, ty: PackedType<'a>) -> &'a PackedType<'a>
fn intern_packed(&self, ty: PackedType<'a>) -> &'a PackedType<'a>
Internalize a packed type.
fn intern_unpacked(&self, ty: UnpackedType<'a>) -> &'a UnpackedType<'a>
fn intern_unpacked(&self, ty: UnpackedType<'a>) -> &'a UnpackedType<'a>
Internalize an unpacked type.