Struct wikitext_parser::Headline
source · 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§
source§impl PartialEq<Headline> for Headline
impl PartialEq<Headline> for Headline
impl Eq for Headline
impl StructuralEq for Headline
impl StructuralPartialEq for Headline
Auto Trait Implementations§
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