Enum neovim_lib::Value
[−]
[src]
pub enum Value {
Nil,
Boolean(bool),
Integer(Integer),
Float(Float),
String(String),
Binary(Vec<u8>),
Array(Vec<Value>),
Map(Vec<(Value, Value)>),
Ext(i8, Vec<u8>),
}Variants
NilNil represents nil.
Boolean(bool)Boolean represents true or false.
Integer(Integer)Integer represents an integer.
Float(Float)Float represents a floating point number.
String(String)String extending Raw type represents a UTF-8 string.
Binary(Vec<u8>)Binary extending Raw type represents a byte array.
Array(Vec<Value>)Array represents a sequence of objects.
Map(Vec<(Value, Value)>)Map represents key-value pairs of objects.
Ext(i8, Vec<u8>)Extended implements Extension interface: represents a tuple of type information and a byte array where type information is an integer whose meaning is defined by applications.
Trait Implementations
impl Clone for Value[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Value[src]
impl PartialEq for Value[src]
fn eq(&self, __arg_0: &Value) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Value) -> bool
This method tests for !=.
impl Display for Value[src]
Implements human-readable value formatting.