pub enum Type {
VecType(usize),
FuncType(TypeId, TypeId),
}Expand description
Fundamental information about a type, generally indexed by a TypeId and
stored in a TypeInfoDirectory.
Variants§
VecType(usize)
A type for vectors with the given declared number of dimensions for their base space
FuncType(TypeId, TypeId)
A type for functions which map elements of the former TypeId to the latter TypeId,
which is consequently only truly meaningful in the context of a TypeInfoDirectory.
Trait Implementations§
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more