Enum docx_rust::document::RunContent
source · [−]pub enum RunContent<'a> {
Text(Text<'a>),
Break(Break),
FieldChar(FieldChar),
InstrText(InstrText<'a>),
Separator(Separator),
ContinuationSeparator(ContinuationSeparator),
Tab(Tab),
Drawing(Drawing),
}
Expand description
A set of elements that can be contained as the content of a run.
Variants
Text(Text<'a>)
Break(Break)
FieldChar(FieldChar)
InstrText(InstrText<'a>)
Separator(Separator)
ContinuationSeparator(ContinuationSeparator)
Tab(Tab)
Drawing(Drawing)
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<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<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<Drawing> for RunContent<'a>
impl<'a> From<Drawing> for RunContent<'a>
sourcefn from(original: Drawing) -> RunContent<'a>
fn from(original: Drawing) -> 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<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<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