[][src]Enum azul_css::NodeTypePath

pub enum NodeTypePath {
    Body,
    Div,
    P,
    Img,
    Texture,
    IFrame,
}

Signifies the type (i.e. the discriminant value) of a DOM node without carrying any of its associated data

Variants

Body
Div
P
Img
Texture
IFrame

Implementations

impl NodeTypePath[src]

Parses the node type from a CSS string such as "div" => NodeTypePath::Div

pub fn from_str(css_key: &str) -> Result<Self, NodeTypePathParseError>[src]

Trait Implementations

impl Clone for NodeTypePath[src]

impl Copy for NodeTypePath[src]

impl Debug for NodeTypePath[src]

impl Display for NodeTypePath[src]

impl Eq for NodeTypePath[src]

impl Hash for NodeTypePath[src]

impl Ord for NodeTypePath[src]

impl PartialEq<NodeTypePath> for NodeTypePath[src]

impl PartialOrd<NodeTypePath> for NodeTypePath[src]

impl StructuralEq for NodeTypePath[src]

impl StructuralPartialEq for NodeTypePath[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.