pub enum MiraType {
Nil,
Boolean,
Number,
String,
Array,
Record,
Function,
Module,
Extern,
}Expand description
A MiraScript runtime value category.
Variants§
Nil
The nil value.
Boolean
A boolean value.
Number
A numeric value.
String
A string value.
Array
An array value.
Record
A record value.
Function
A callable function.
Module
A module value.
Extern
A reserved external value.
Implementations§
Trait Implementations§
impl Copy for MiraType
impl Eq for MiraType
impl StructuralPartialEq for MiraType
Auto Trait Implementations§
impl Freeze for MiraType
impl RefUnwindSafe for MiraType
impl Send for MiraType
impl Sync for MiraType
impl Unpin for MiraType
impl UnsafeUnpin for MiraType
impl UnwindSafe for MiraType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.