pub enum RunContent {
Text(String),
Tab,
Break(BreakType),
CarriageReturn,
SoftHyphen,
NoBreakHyphen,
Unknown(RawXmlNode),
}Expand description
Content within a run
Variants§
Text(String)
Text (w:t)
Tab
Tab (w:tab)
Break(BreakType)
Break (w:br)
CarriageReturn
Carriage return (w:cr)
SoftHyphen
Soft hyphen
NoBreakHyphen
Non-breaking hyphen
Unknown(RawXmlNode)
Unknown (preserved)
Implementations§
Trait Implementations§
Source§impl Clone for RunContent
impl Clone for RunContent
Source§fn clone(&self) -> RunContent
fn clone(&self) -> RunContent
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 RunContent
impl RefUnwindSafe for RunContent
impl Send for RunContent
impl Sync for RunContent
impl Unpin for RunContent
impl UnwindSafe for RunContent
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