pub enum Heading {
Page,
Section,
Subsection,
}Expand description
How far down the heading tree a title sits.
Three, and only the three that are actually headings. The bands those used
to be filed with (goingson’s .page-header, Balanced Breakfast’s .header
and .detail-header) are arrangement, not type, and live at
Region::Band. One of them contains no text at all.
Variants§
Page
Names the whole screen. One per screen.
Section
Names a block within the screen.
Subsection
Names a sub-block inside an already-named section.
Implementations§
Trait Implementations§
impl Copy for Heading
impl Eq for Heading
impl StructuralPartialEq for Heading
Auto Trait Implementations§
impl Freeze for Heading
impl RefUnwindSafe for Heading
impl Send for Heading
impl Sync for Heading
impl Unpin for Heading
impl UnsafeUnpin for Heading
impl UnwindSafe for Heading
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more