Enum domafic::AttributeValue [] [src]

pub enum AttributeValue {
    Str(&'static str),
    OwnedStr(String),
    Bool(bool),
}

A value of a DomNode attribute.

Variants

A value represented by a static string reference

A value represented by an owned String

A boolean value

Trait Implementations

impl Debug for AttributeValue
[src]

Formats the value using the given formatter.

impl Clone for AttributeValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for AttributeValue
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for AttributeValue
[src]

impl PartialEq for AttributeValue
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for AttributeValue
[src]

Formats the value using the given formatter. Read more