Enum reproto_core::RpValue
[−]
[src]
pub enum RpValue {
String(String),
Number(RpNumber),
Boolean(bool),
Identifier(String),
Array(Vec<Loc<RpValue>>),
Type(RpType),
}Variants
String(String)Number(RpNumber)Boolean(bool)Identifier(String)Array(Vec<Loc<RpValue>>)Type(RpType)
Methods
impl RpValue[src]
fn as_str(&self) -> Result<&str>[src]
fn as_identifier(&self) -> Result<&str>[src]
fn as_string(&self) -> Result<&str>[src]
fn into_ordinal(self) -> Result<RpEnumOrdinal>[src]
Trait Implementations
impl Debug for RpValue[src]
impl Clone for RpValue[src]
fn clone(&self) -> RpValue[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more