Enum docx_rust::document::RunContent
source · [−]pub enum RunContent<'a> {
Show 28 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>),
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>)
LastRenderedPageBreak(LastRenderedPageBreak)
Trait Implementations
sourceimpl<'a> Clone for RunContent<'a>
impl<'a> Clone for RunContent<'a>
sourcefn clone(&self) -> RunContent<'a>
fn clone(&self) -> RunContent<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for RunContent<'a>
impl<'a> Debug for RunContent<'a>
sourceimpl<'a> From<AnnotationRef> for RunContent<'a>
impl<'a> From<AnnotationRef> for RunContent<'a>
sourcefn from(original: AnnotationRef) -> RunContent<'a>
fn from(original: AnnotationRef) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<Break> for RunContent<'a>
impl<'a> From<Break> for RunContent<'a>
sourcefn from(original: Break) -> RunContent<'a>
fn from(original: Break) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<CarriageReturn> for RunContent<'a>
impl<'a> From<CarriageReturn> for RunContent<'a>
sourcefn from(original: CarriageReturn) -> RunContent<'a>
fn from(original: CarriageReturn) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<CommentReference<'a>> for RunContent<'a>
impl<'a> From<CommentReference<'a>> for RunContent<'a>
sourcefn from(original: CommentReference<'a>) -> RunContent<'a>
fn from(original: CommentReference<'a>) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<ContinuationSeparator> for RunContent<'a>
impl<'a> From<ContinuationSeparator> for RunContent<'a>
sourcefn from(original: ContinuationSeparator) -> RunContent<'a>
fn from(original: ContinuationSeparator) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<DelText<'a>> for RunContent<'a>
impl<'a> From<DelText<'a>> for RunContent<'a>
sourcefn from(original: DelText<'a>) -> RunContent<'a>
fn from(original: DelText<'a>) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<Drawing<'a>> for RunContent<'a>
impl<'a> From<Drawing<'a>> for RunContent<'a>
sourcefn from(original: Drawing<'a>) -> RunContent<'a>
fn from(original: Drawing<'a>) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<EndnoteRef> for RunContent<'a>
impl<'a> From<EndnoteRef> for RunContent<'a>
sourcefn from(original: EndnoteRef) -> RunContent<'a>
fn from(original: EndnoteRef) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<EndnoteReference<'a>> for RunContent<'a>
impl<'a> From<EndnoteReference<'a>> for RunContent<'a>
sourcefn from(original: EndnoteReference<'a>) -> RunContent<'a>
fn from(original: EndnoteReference<'a>) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<FieldChar> for RunContent<'a>
impl<'a> From<FieldChar> for RunContent<'a>
sourcefn from(original: FieldChar) -> RunContent<'a>
fn from(original: FieldChar) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<FootnoteRef> for RunContent<'a>
impl<'a> From<FootnoteRef> for RunContent<'a>
sourcefn from(original: FootnoteRef) -> RunContent<'a>
fn from(original: FootnoteRef) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<FootnoteReference<'a>> for RunContent<'a>
impl<'a> From<FootnoteReference<'a>> for RunContent<'a>
sourcefn from(original: FootnoteReference<'a>) -> RunContent<'a>
fn from(original: FootnoteReference<'a>) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<LastRenderedPageBreak> for RunContent<'a>
impl<'a> From<LastRenderedPageBreak> for RunContent<'a>
sourcefn from(original: LastRenderedPageBreak) -> RunContent<'a>
fn from(original: LastRenderedPageBreak) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<NoBreakHyphen> for RunContent<'a>
impl<'a> From<NoBreakHyphen> for RunContent<'a>
sourcefn from(original: NoBreakHyphen) -> RunContent<'a>
fn from(original: NoBreakHyphen) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<PgNum> for RunContent<'a>
impl<'a> From<PgNum> for RunContent<'a>
sourcefn from(original: PgNum) -> RunContent<'a>
fn from(original: PgNum) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<Separator> for RunContent<'a>
impl<'a> From<Separator> for RunContent<'a>
sourcefn from(original: Separator) -> RunContent<'a>
fn from(original: Separator) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<SoftHyphen> for RunContent<'a>
impl<'a> From<SoftHyphen> for RunContent<'a>
sourcefn from(original: SoftHyphen) -> RunContent<'a>
fn from(original: SoftHyphen) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<Tab> for RunContent<'a>
impl<'a> From<Tab> for RunContent<'a>
sourcefn from(original: Tab) -> RunContent<'a>
fn from(original: Tab) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'a> From<Text<'a>> for RunContent<'a>
impl<'a> From<Text<'a>> for RunContent<'a>
sourcefn from(original: Text<'a>) -> RunContent<'a>
fn from(original: Text<'a>) -> RunContent<'a>
Converts to this type from the input type.
sourceimpl<'__input: 'a, 'a> XmlRead<'__input> for RunContent<'a>
impl<'__input: 'a, 'a> XmlRead<'__input> for RunContent<'a>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more