pub enum CtfeType {
Unit,
Bool,
Int,
Uint,
Float,
Str,
Tuple(Vec<CtfeType>),
List(Box<CtfeType>),
Named(String),
Unknown,
}Expand description
CTFE type checker (basic type inference during evaluation)
Variants§
Trait Implementations§
impl Eq for CtfeType
impl StructuralPartialEq for CtfeType
Auto Trait Implementations§
impl Freeze for CtfeType
impl RefUnwindSafe for CtfeType
impl Send for CtfeType
impl Sync for CtfeType
impl Unpin for CtfeType
impl UnsafeUnpin for CtfeType
impl UnwindSafe for CtfeType
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