Enum docx_rust::document::HeaderFooterReference
source · [−]pub enum HeaderFooterReference<'a> {
Header(HeaderReference<'a>),
Footer(FooterReference<'a>),
}
Expand description
A set of elements that can be contained as the content of a run.
Variants
Header(HeaderReference<'a>)
Footer(FooterReference<'a>)
Trait Implementations
sourcefn clone(&self) -> HeaderFooterReference<'a>
fn clone(&self) -> HeaderFooterReference<'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
sourcefn from(original: FooterReference<'a>) -> HeaderFooterReference<'a>
fn from(original: FooterReference<'a>) -> HeaderFooterReference<'a>
Converts to this type from the input type.
sourcefn from(original: HeaderReference<'a>) -> HeaderFooterReference<'a>
fn from(original: HeaderReference<'a>) -> HeaderFooterReference<'a>
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more