pub fn type_name(&self) -> &'static str {
        match *self {
            Value::Color(..) => "color",
            Value::Literal(..) => "string",
            Value::Numeric(..) => "number",
            Value::List(..) => "list",
            Value::Function(..) => "function",
            Value::True | Value::False => "bool",
            Value::Null => "null",
            _ => "unknown",
        }
    }
/// Get the type name of this value.
Get the type name of this value.
Get the type name of this value .
pub fn type_name(&self) -> &'static str {
        match *self {
            Value::Color(..) => "color",
            Value::Literal(..) => "string",
            Value::Numeric(..) => "number",
            Value::List(..) => "list",
            Value::Function(..) => "function",
            Value::True | Value::False => "bool",
            Value::Null => "null",
            _ => "unknown",
        }
    }
pub fn type_name ( & self ) -> & ' static str { match * self { Value :: Color ( .. ) => " " , Value :: Literal ( .. ) => " " , Value :: Numeric ( .. ) => " " , Value :: List ( .. ) => " " , Value :: Function ( .. ) => " " , Value :: True | Value :: False => " " , Value :: Null => " " , _ => " " , } }
Get the type name of this value.
Get the type name of this value .
&self
&self