pub struct Headline {
pub label: String,
pub level: u8,
}
Expand description
A headline of a section of wikitext.
Fields§
§label: String
The label of the headline.
level: u8
The level of the headline.
Implementations§
Trait Implementations§
impl Eq for Headline
impl StructuralPartialEq for Headline
Auto Trait Implementations§
impl Freeze for Headline
impl RefUnwindSafe for Headline
impl Send for Headline
impl Sync for Headline
impl Unpin for Headline
impl UnwindSafe for Headline
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