Struct NodeBlockDirective
#[non_exhaustive]
pub struct NodeBlockDirective { pub fence_length: usize, pub fence_offset: usize, pub info: String }
The metadata of a container block directive node.
Fields
fence_length: usizeThe length of the fence.
fence_offset: usizeThe indentation level of the fence marker.
info: StringThe info string after the opening fence, if any.
Implementations
impl NodeBlockDirective
fn new(info: impl Into<String>) -> SelfCreate a new
NodeBlockDirectivewith the given info string.
Trait Implementations
impl Clone for NodeBlockDirective
fn clone(&self) -> Self
impl Debug for NodeBlockDirective
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for NodeBlockDirective
fn default() -> Self
impl Eq for NodeBlockDirective
impl PartialEq for NodeBlockDirective
fn eq(&self, other: &Self) -> bool