pub trait StyleNodeClass {
// Required methods
fn name(&self) -> &str;
fn scope(&self) -> Option<NonZeroUsize>;
}
Expand description
The class for a StyleNode
.
Required Methods§
Sourcefn scope(&self) -> Option<NonZeroUsize>
fn scope(&self) -> Option<NonZeroUsize>
The style scope of the class.