Enum lyon_svg::parser::attribute::AttributeValue
[−]
[src]
pub enum AttributeValue {
None,
Number(f64),
Length(Length),
RgbColor(RgbColor),
String(String),
KeyWord(ValueId),
Unsupported,
}Variants
NoneNumber(f64)Length(Length)RgbColor(RgbColor)String(String)KeyWord(ValueId)UnsupportedMethods
impl AttributeValue[src]
fn from_ref(val: RefAttributeValue) -> AttributeValue
Trait Implementations
impl Clone for AttributeValue[src]
fn clone(&self) -> AttributeValue
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 AttributeValue[src]
impl PartialEq for AttributeValue[src]
fn eq(&self, __arg_0: &AttributeValue) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AttributeValue) -> bool
This method tests for !=.