Trait StyleNodeClass

Source
pub trait StyleNodeClass {
    // Required methods
    fn name(&self) -> &str;
    fn scope(&self) -> Option<NonZeroUsize>;
}
Expand description

The class for a StyleNode.

Required Methods§

Source

fn name(&self) -> &str

The name of the class.

Source

fn scope(&self) -> Option<NonZeroUsize>

The style scope of the class.

Implementations on Foreign Types§

Source§

impl StyleNodeClass for (String, Option<NonZeroUsize>)

Source§

fn name(&self) -> &str

Source§

fn scope(&self) -> Option<NonZeroUsize>

Implementors§