Struct NodeHtmlBlock

struct NodeHtmlBlock { ... }

The metadata of an included HTML block.

Fields

block_type: u8

The HTML block's type

literal: String

The literal contents of the HTML block. Per NodeCodeBlock, the content is included here rather than in any inline.

Implementations

impl Clone for NodeHtmlBlock

fn clone(self: &Self) -> NodeHtmlBlock

impl Debug for NodeHtmlBlock

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for NodeHtmlBlock

fn default() -> NodeHtmlBlock

impl Eq for NodeHtmlBlock

impl Freeze for NodeHtmlBlock

impl PartialEq for NodeHtmlBlock

fn eq(self: &Self, other: &NodeHtmlBlock) -> bool

impl RefUnwindSafe for NodeHtmlBlock

impl Send for NodeHtmlBlock

impl StructuralPartialEq for NodeHtmlBlock

impl Sync for NodeHtmlBlock

impl Unpin for NodeHtmlBlock

impl UnwindSafe for NodeHtmlBlock

impl<T> Any for NodeHtmlBlock

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for NodeHtmlBlock

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for NodeHtmlBlock

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for NodeHtmlBlock

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for NodeHtmlBlock

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for NodeHtmlBlock

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for NodeHtmlBlock

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for NodeHtmlBlock

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for NodeHtmlBlock

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>