pub struct Html {
pub value: String,
pub span: Span,
}Expand description
Raw HTML block (CommonMark 4.6). Lexer classifies the type via
HtmlBlockKind; the parser captures the body verbatim and the
renderer emits it untouched per CM rules.
Fields§
§value: String§span: SpanTrait Implementations§
Source§impl<'de> Deserialize<'de> for Html
impl<'de> Deserialize<'de> for Html
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 Html
Auto Trait Implementations§
impl Freeze for Html
impl RefUnwindSafe for Html
impl Send for Html
impl Sync for Html
impl Unpin for Html
impl UnsafeUnpin for Html
impl UnwindSafe for Html
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