Enum rml_amf0::Amf0Value
[−]
[src]
pub enum Amf0Value { Number(f64), Boolean(bool), Utf8String(String), Object(HashMap<String, Amf0Value>), Null, Undefined, }
An Enum representing the different supported types of Amf0 values
Variants
Number(f64)
Boolean(bool)
Utf8String(String)
Object(HashMap<String, Amf0Value>)
Null
Undefined
Methods
impl Amf0Value
[src]
pub fn get_number(self) -> Option<f64>
[src]
pub fn get_boolean(self) -> Option<bool>
[src]
pub fn get_string(self) -> Option<String>
[src]
pub fn get_object_properties(self) -> Option<HashMap<String, Amf0Value>>
[src]
Trait Implementations
impl PartialEq for Amf0Value
[src]
fn eq(&self, __arg_0: &Amf0Value) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Amf0Value) -> bool
[src]
This method tests for !=
.
impl Debug for Amf0Value
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more