[−][src]Enum dark_vm::values::value_kinds::ValueKind
Variants
Int(i64)Float(f64)Boolean(bool)String(String)Identifier(String)Label(String)Implementations
impl ValueKind[src]
pub fn get_value_name(&self) -> String[src]
This function gets the name of the value. For example, an int with the value of 15, will have the value name 'Int'. This method is used to provide the right error messages.
Trait Implementations
impl Debug for ValueKind[src]
impl PartialEq<ValueKind> for ValueKind[src]
impl StructuralPartialEq for ValueKind[src]
Auto Trait Implementations
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnwindSafe for ValueKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,