pub struct StructureNode {
pub id: String,
pub kind: NodeKind,
pub preview: String,
pub ctrl_id: Option<String>,
}Fields§
§id: StringStable ID shaped like "{section}:{paragraph}".
kind: NodeKind§preview: String§ctrl_id: Option<String>Raw ASCII FourCC of the first control header in the paragraph, if any.
Trait Implementations§
Source§impl Clone for StructureNode
impl Clone for StructureNode
Source§fn clone(&self) -> StructureNode
fn clone(&self) -> StructureNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructureNode
impl Debug for StructureNode
Source§impl PartialEq for StructureNode
impl PartialEq for StructureNode
Source§impl Serialize for StructureNode
impl Serialize for StructureNode
impl Eq for StructureNode
impl StructuralPartialEq for StructureNode
Auto Trait Implementations§
impl Freeze for StructureNode
impl RefUnwindSafe for StructureNode
impl Send for StructureNode
impl Sync for StructureNode
impl Unpin for StructureNode
impl UnsafeUnpin for StructureNode
impl UnwindSafe for StructureNode
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