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>)
Trait Implementations§
Source§fn clone(&self) -> HeaderFooterReference<'a>
fn clone(&self) -> HeaderFooterReference<'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§fn from(original: FooterReference<'a>) -> HeaderFooterReference<'a>
fn from(original: FooterReference<'a>) -> HeaderFooterReference<'a>
Converts to this type from the input type.
Source§fn 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§
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