pub struct Custom {
pub span: Option<Span>,
pub kind: String,
pub attrs: BTreeMap<String, Value>,
pub children: Vec<Node>,
}Expand description
See Node::Custom.
Fields§
§span: Option<Span>Where this node came from in the source, if known.
kind: StringThe plugin-defined kind, e.g. "mermaid". Selected as
"custom:<kind>".
attrs: BTreeMap<String, Value>Arbitrary attributes.
children: Vec<Node>Child nodes, if any.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Custom
impl<'de> Deserialize<'de> for Custom
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Custom
Auto Trait Implementations§
impl Forget for Custom
impl Freeze for Custom
impl Move for Custom
impl RefUnwindSafe for Custom
impl Send for Custom
impl Sync for Custom
impl Unpin for Custom
impl UnsafeUnpin for Custom
impl UnwindSafe for Custom
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