Struct NodeHtmlBlock
pub struct NodeHtmlBlock { pub block_type: u8, pub literal: String }
The metadata of an included HTML block.
Fields
block_type: u8The HTML block's type
literal: StringThe literal contents of the HTML block. Per NodeCodeBlock, the content is included here rather than in any inline.
Trait Implementations
impl Clone for NodeHtmlBlock
fn clone(&self) -> NodeHtmlBlock
impl Debug for NodeHtmlBlock
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for NodeHtmlBlock
fn default() -> NodeHtmlBlock
impl Eq for NodeHtmlBlock
impl PartialEq for NodeHtmlBlock
fn eq(&self, other: &NodeHtmlBlock) -> bool
impl StructuralPartialEq for NodeHtmlBlock
Auto Trait Implementations
impl Freeze for NodeHtmlBlock
impl RefUnwindSafe for NodeHtmlBlock
impl Send for NodeHtmlBlock
impl Sync for NodeHtmlBlock
impl Unpin for NodeHtmlBlock
impl UnsafeUnpin for NodeHtmlBlock
impl UnwindSafe for NodeHtmlBlock
Blanket Implementations
impl<T> Any for NodeHtmlBlock
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for NodeHtmlBlock
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for NodeHtmlBlock
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for NodeHtmlBlock
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for NodeHtmlBlock
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for NodeHtmlBlock
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for NodeHtmlBlock
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for NodeHtmlBlock
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for NodeHtmlBlock
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>