pub struct Figure {
pub span: Option<Span>,
pub id: Option<String>,
pub children: Vec<Node>,
}Expand description
See Node::Figure.
Fields§
§span: Option<Span>Where this node came from in the source, if known.
id: Option<String>Anchor identifier, e.g. for linking to the figure.
children: Vec<Node>Content, then an optional caption.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Figure
impl<'de> Deserialize<'de> for Figure
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 Figure
Auto Trait Implementations§
impl Forget for Figure
impl Freeze for Figure
impl Move for Figure
impl RefUnwindSafe for Figure
impl Send for Figure
impl Sync for Figure
impl Unpin for Figure
impl UnsafeUnpin for Figure
impl UnwindSafe for Figure
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