pub enum RunContent<'a> {
Show 29 variants
Break(Break),
Text(Text<'a>),
DelText(DelText<'a>),
InstrText(InstrText<'a>),
DelInstrText(DelInstrText<'a>),
NoBreakHyphen(NoBreakHyphen),
SoftHyphen(SoftHyphen),
DayShort(DayShort),
MonthShort(MonthShort),
YearShort(YearShort),
DayLong(DayLong),
MonthLong(MonthLong),
YearLong(YearLong),
AnnotationRef(AnnotationRef),
FootnoteRef(FootnoteRef),
EndnoteRef(EndnoteRef),
Separator(Separator),
ContinuationSeparator(ContinuationSeparator),
Sym(Sym<'a>),
PgNum(PgNum),
CarriageReturn(CarriageReturn),
Tab(Tab),
FieldChar(FieldChar),
FootnoteReference(FootnoteReference<'a>),
EndnoteReference(EndnoteReference<'a>),
CommentReference(CommentReference<'a>),
Drawing(Drawing<'a>),
PTab(PTab),
LastRenderedPageBreak(LastRenderedPageBreak),
}
Expand description
A set of elements that can be contained as the content of a run.
Variants§
Break(Break)
Text(Text<'a>)
DelText(DelText<'a>)
InstrText(InstrText<'a>)
DelInstrText(DelInstrText<'a>)
NoBreakHyphen(NoBreakHyphen)
SoftHyphen(SoftHyphen)
DayShort(DayShort)
MonthShort(MonthShort)
YearShort(YearShort)
DayLong(DayLong)
MonthLong(MonthLong)
YearLong(YearLong)
AnnotationRef(AnnotationRef)
FootnoteRef(FootnoteRef)
EndnoteRef(EndnoteRef)
Separator(Separator)
ContinuationSeparator(ContinuationSeparator)
Sym(Sym<'a>)
PgNum(PgNum)
CarriageReturn(CarriageReturn)
Tab(Tab)
FieldChar(FieldChar)
FootnoteReference(FootnoteReference<'a>)
EndnoteReference(EndnoteReference<'a>)
CommentReference(CommentReference<'a>)
Drawing(Drawing<'a>)
PTab(PTab)
LastRenderedPageBreak(LastRenderedPageBreak)
Trait Implementations§
Source§impl<'a> Clone for RunContent<'a>
impl<'a> Clone for RunContent<'a>
Source§fn clone(&self) -> RunContent<'a>
fn clone(&self) -> RunContent<'a>
Returns a copy 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 moreSource§impl<'a> Debug for RunContent<'a>
impl<'a> Debug for RunContent<'a>
Source§impl<'a> From<AnnotationRef> for RunContent<'a>
impl<'a> From<AnnotationRef> for RunContent<'a>
Source§fn from(original: AnnotationRef) -> RunContent<'a>
fn from(original: AnnotationRef) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<Break> for RunContent<'a>
impl<'a> From<Break> for RunContent<'a>
Source§fn from(original: Break) -> RunContent<'a>
fn from(original: Break) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<CarriageReturn> for RunContent<'a>
impl<'a> From<CarriageReturn> for RunContent<'a>
Source§fn from(original: CarriageReturn) -> RunContent<'a>
fn from(original: CarriageReturn) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<CommentReference<'a>> for RunContent<'a>
impl<'a> From<CommentReference<'a>> for RunContent<'a>
Source§fn from(original: CommentReference<'a>) -> RunContent<'a>
fn from(original: CommentReference<'a>) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<ContinuationSeparator> for RunContent<'a>
impl<'a> From<ContinuationSeparator> for RunContent<'a>
Source§fn from(original: ContinuationSeparator) -> RunContent<'a>
fn from(original: ContinuationSeparator) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<DelText<'a>> for RunContent<'a>
impl<'a> From<DelText<'a>> for RunContent<'a>
Source§fn from(original: DelText<'a>) -> RunContent<'a>
fn from(original: DelText<'a>) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<Drawing<'a>> for RunContent<'a>
impl<'a> From<Drawing<'a>> for RunContent<'a>
Source§fn from(original: Drawing<'a>) -> RunContent<'a>
fn from(original: Drawing<'a>) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<EndnoteRef> for RunContent<'a>
impl<'a> From<EndnoteRef> for RunContent<'a>
Source§fn from(original: EndnoteRef) -> RunContent<'a>
fn from(original: EndnoteRef) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<EndnoteReference<'a>> for RunContent<'a>
impl<'a> From<EndnoteReference<'a>> for RunContent<'a>
Source§fn from(original: EndnoteReference<'a>) -> RunContent<'a>
fn from(original: EndnoteReference<'a>) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<FieldChar> for RunContent<'a>
impl<'a> From<FieldChar> for RunContent<'a>
Source§fn from(original: FieldChar) -> RunContent<'a>
fn from(original: FieldChar) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<FootnoteRef> for RunContent<'a>
impl<'a> From<FootnoteRef> for RunContent<'a>
Source§fn from(original: FootnoteRef) -> RunContent<'a>
fn from(original: FootnoteRef) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<FootnoteReference<'a>> for RunContent<'a>
impl<'a> From<FootnoteReference<'a>> for RunContent<'a>
Source§fn from(original: FootnoteReference<'a>) -> RunContent<'a>
fn from(original: FootnoteReference<'a>) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<LastRenderedPageBreak> for RunContent<'a>
impl<'a> From<LastRenderedPageBreak> for RunContent<'a>
Source§fn from(original: LastRenderedPageBreak) -> RunContent<'a>
fn from(original: LastRenderedPageBreak) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<NoBreakHyphen> for RunContent<'a>
impl<'a> From<NoBreakHyphen> for RunContent<'a>
Source§fn from(original: NoBreakHyphen) -> RunContent<'a>
fn from(original: NoBreakHyphen) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<PTab> for RunContent<'a>
impl<'a> From<PTab> for RunContent<'a>
Source§fn from(original: PTab) -> RunContent<'a>
fn from(original: PTab) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<PgNum> for RunContent<'a>
impl<'a> From<PgNum> for RunContent<'a>
Source§fn from(original: PgNum) -> RunContent<'a>
fn from(original: PgNum) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<Separator> for RunContent<'a>
impl<'a> From<Separator> for RunContent<'a>
Source§fn from(original: Separator) -> RunContent<'a>
fn from(original: Separator) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<SoftHyphen> for RunContent<'a>
impl<'a> From<SoftHyphen> for RunContent<'a>
Source§fn from(original: SoftHyphen) -> RunContent<'a>
fn from(original: SoftHyphen) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<Tab> for RunContent<'a>
impl<'a> From<Tab> for RunContent<'a>
Source§fn from(original: Tab) -> RunContent<'a>
fn from(original: Tab) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'a> From<Text<'a>> for RunContent<'a>
impl<'a> From<Text<'a>> for RunContent<'a>
Source§fn from(original: Text<'a>) -> RunContent<'a>
fn from(original: Text<'a>) -> RunContent<'a>
Converts to this type from the input type.
Source§impl<'__input: 'a, 'a> XmlRead<'__input> for RunContent<'a>
impl<'__input: 'a, 'a> XmlRead<'__input> for RunContent<'a>
Auto Trait Implementations§
impl<'a> Freeze for RunContent<'a>
impl<'a> RefUnwindSafe for RunContent<'a>
impl<'a> Send for RunContent<'a>
impl<'a> Sync for RunContent<'a>
impl<'a> Unpin for RunContent<'a>
impl<'a> UnwindSafe for RunContent<'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