pub struct NodeFlags {
pub generated: bool,
pub sentence_end: bool,
pub no_print: bool,
pub no_fill: bool,
pub deep_link_target: bool,
pub permalink: bool,
pub line_start: bool,
pub delimiter_open: bool,
pub delimiter_close: bool,
}Expand description
Source and renderer flags needed by a lowering or rendering pass.
Fields§
§generated: bool§sentence_end: bool§no_print: bool§no_fill: bool§deep_link_target: boollibmandoc selected this node as a same-document destination.
permalink: boollibmandoc renders a self-link for this destination.
line_start: boolThis node begins a roff input line (NODE_LINE).
Some man macros keep same-line layout arguments and next-line visible content in one syntax head, so source-line role is semantic data.
delimiter_open: boolThis text node is opening punctuation and suppresses spacing after it.
delimiter_close: boolThis text node is closing punctuation and suppresses spacing before it.
Trait Implementations§
impl Copy for NodeFlags
impl Eq for NodeFlags
impl StructuralPartialEq for NodeFlags
Auto Trait Implementations§
impl Freeze for NodeFlags
impl RefUnwindSafe for NodeFlags
impl Send for NodeFlags
impl Sync for NodeFlags
impl Unpin for NodeFlags
impl UnsafeUnpin for NodeFlags
impl UnwindSafe for NodeFlags
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