pub trait Outlinable: Refable {
// Required methods
fn outlined(&self) -> bool;
fn prefix(&self, numbers: Content) -> Content;
fn body(&self) -> Content;
// Provided method
fn level(&self) -> NonZeroUsize { ... }
}
Expand description
Marks an element as being able to be outlined.
Required Methods§
Provided Methods§
Sourcefn level(&self) -> NonZeroUsize
fn level(&self) -> NonZeroUsize
The nesting level of this element.