pub struct Data {
pub id: String,
pub src: Option<String>,
pub expr: Option<Expr>,
pub content: Option<String>,
pub extensions: Vec<Extension>,
pub span: Span,
}Expand description
A <data> item.
Fields§
§id: Stringid.
src: Option<String>src.
expr: Option<Expr>expr.
content: Option<String>Inline content as raw text or XML.
extensions: Vec<Extension>Extension attributes and elements.
span: SpanSource location.
Trait Implementations§
impl Eq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Forget for Data
impl Freeze for Data
impl Move for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnsafeUnpin for Data
impl UnwindSafe for Data
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