pub struct HtmlInline {
pub meta: NodeMeta,
pub value: String,
}Expand description
Raw inline HTML such as <span> or </em>.
Fields§
§meta: NodeMetaNode metadata (source span).
value: StringThe literal HTML source.
Trait Implementations§
Source§impl Clone for HtmlInline
impl Clone for HtmlInline
Source§fn clone(&self) -> HtmlInline
fn clone(&self) -> HtmlInline
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HtmlInline
impl Debug for HtmlInline
impl Eq for HtmlInline
Source§impl From<HtmlInline> for Inline
impl From<HtmlInline> for Inline
Source§fn from(node: HtmlInline) -> Self
fn from(node: HtmlInline) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HtmlInline
impl PartialEq for HtmlInline
Source§fn eq(&self, other: &HtmlInline) -> bool
fn eq(&self, other: &HtmlInline) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HtmlInline
Auto Trait Implementations§
impl Freeze for HtmlInline
impl RefUnwindSafe for HtmlInline
impl Send for HtmlInline
impl Sync for HtmlInline
impl Unpin for HtmlInline
impl UnsafeUnpin for HtmlInline
impl UnwindSafe for HtmlInline
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