ElementDecl

Type Alias ElementDecl 

Source
pub type ElementDecl = Node<ElementDeclSpec>;

Aliased Type§

pub struct ElementDecl { /* private fields */ }

Implementations§

Source§

impl ElementDecl

Source

pub fn name(&self) -> Rc<str>

Source

pub fn content_spec(&self) -> Ref<'_, ContentSpec>

Trait Implementations§

Source§

impl Display for ElementDecl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more