Enum piston_meta::MetaData
[−]
[src]
pub enum MetaData {
StartNode(Arc<String>),
EndNode(Arc<String>),
Bool(Arc<String>, bool),
F64(Arc<String>, f64),
String(Arc<String>, Arc<String>),
}Represents meta data.
Variants
StartNode(Arc<String>)Starts node.
EndNode(Arc<String>)Ends node.
Bool(Arc<String>, bool)Sets bool property.
F64(Arc<String>, f64)Sets f64 property.
String(Arc<String>, Arc<String>)Sets string property.
Trait Implementations
impl PartialEq for MetaData[src]
fn eq(&self, __arg_0: &MetaData) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MetaData) -> bool
This method tests for !=.
impl Clone for MetaData[src]
fn clone(&self) -> MetaData
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