pub struct InlineMarkup {
pub source: String,
pub spans: Vec<InlineSpan>,
}Expand description
Parsed input ready for shaping. Preserves the original source for diagnostics and round-tripping.
Fields§
§source: String§spans: Vec<InlineSpan>Implementations§
Trait Implementations§
Source§impl Clone for InlineMarkup
impl Clone for InlineMarkup
Source§fn clone(&self) -> InlineMarkup
fn clone(&self) -> InlineMarkup
Returns a duplicate of the value. Read more
1.0.0 · 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 InlineMarkup
impl RefUnwindSafe for InlineMarkup
impl Send for InlineMarkup
impl Sync for InlineMarkup
impl Unpin for InlineMarkup
impl UnsafeUnpin for InlineMarkup
impl UnwindSafe for InlineMarkup
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