pub enum ExplanationTextRoot<'a> {
Inline(&'a [Inline]),
Text(&'a str),
}Expand description
A borrowed original text root; not a flattened compound block or rendered line.
Variants§
Inline(&'a [Inline])
One paragraph, preformatted block or definition term’s visible inlines.
Text(&'a str)
One equation or preserved unsupported-source leaf.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ExplanationTextRoot<'a>
impl<'a> Clone for ExplanationTextRoot<'a>
Source§fn clone(&self) -> ExplanationTextRoot<'a>
fn clone(&self) -> ExplanationTextRoot<'a>
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 moreimpl<'a> Copy for ExplanationTextRoot<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExplanationTextRoot<'a>
impl<'a> RefUnwindSafe for ExplanationTextRoot<'a>
impl<'a> Send for ExplanationTextRoot<'a>
impl<'a> Sync for ExplanationTextRoot<'a>
impl<'a> Unpin for ExplanationTextRoot<'a>
impl<'a> UnsafeUnpin for ExplanationTextRoot<'a>
impl<'a> UnwindSafe for ExplanationTextRoot<'a>
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