Trait Refable

Source
pub trait Refable {
    // Required methods
    fn supplement(&self) -> Content;
    fn counter(&self) -> Counter;
    fn numbering(&self) -> Option<&Numbering>;
}
Expand description

Marks an element as being able to be referenced. This is used to implement the @ref element.

Required Methods§

Source

fn supplement(&self) -> Content

The supplement, if not overridden by the reference.

Source

fn counter(&self) -> Counter

Returns the counter of this element.

Source

fn numbering(&self) -> Option<&Numbering>

Returns the numbering of this element.

Implementors§