pub struct Heading {
pub level: u8,
pub content: Vec<Inline>,
pub keyword: Option<Keyword>,
pub priority: Option<String>,
pub tags: Vec<String>,
}Expand description
A heading and what an Org headline carries besides its title.
Fields§
§level: u81 to 6 as in Markdown; deeper levels draw as level 6.
content: Vec<Inline>§keyword: Option<Keyword>A TODO keyword (TODO, DONE, or one an Org file declares).
priority: Option<String>An Org priority cookie’s letter or number (A for [#A]).
Org tags (:work:urgent:), without the colons.
Trait Implementations§
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