Enum debris_mir::mir_primitives::MirPrimitive
source · pub enum MirPrimitive {
Show 13 variants
Int(i32),
Bool(bool),
String(Rc<str>),
FormatString(MirFormatString),
Function(MirFunction),
FunctionClass(Vec<MirObjectId>, Option<MirObjectId>),
Module(MirModule),
Tuple(Vec<MirObjectId>),
TupleClass(Vec<(MirObjectId, Span)>),
StructType(MirStructType),
Struct(MirStruct),
Null,
Never,
}
Variants§
Int(i32)
Bool(bool)
String(Rc<str>)
FormatString(MirFormatString)
Function(MirFunction)
FunctionClass(Vec<MirObjectId>, Option<MirObjectId>)
Module(MirModule)
Tuple(Vec<MirObjectId>)
TupleClass(Vec<(MirObjectId, Span)>)
StructType(MirStructType)
Struct(MirStruct)
Null
Never
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MirPrimitive
impl !Send for MirPrimitive
impl !Sync for MirPrimitive
impl Unpin for MirPrimitive
impl UnwindSafe for MirPrimitive
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