pub struct InlineHtml {
pub text: String,
pub byte_offset: usize,
pub raw_range: Range<usize>,
}Expand description
One inline HTML tag (open, close, self-closing, comment, etc.) embedded in a paragraph.
Fields§
§text: String§byte_offset: usize§raw_range: Range<usize>Trait Implementations§
Source§impl Clone for InlineHtml
impl Clone for InlineHtml
Source§fn clone(&self) -> InlineHtml
fn clone(&self) -> InlineHtml
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 moreAuto Trait Implementations§
impl Freeze for InlineHtml
impl RefUnwindSafe for InlineHtml
impl Send for InlineHtml
impl Sync for InlineHtml
impl Unpin for InlineHtml
impl UnsafeUnpin for InlineHtml
impl UnwindSafe for InlineHtml
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