pub enum DocinfoLocation {
Head,
Header,
Footer,
}Expand description
Where a docinfo file’s content is injected into the converted output.
Each location corresponds to a distinct set of docinfo files (differentiated by name) and a distinct insertion point in the output document.
Variants§
Head
Head docinfo: injected into the top of the document (appended to the
HTML <head> element, or the DocBook root <info> element).
Header
Header docinfo: injected at the start of the document body (immediately
before the HTML header <div>).
Footer docinfo: injected at the end of the document body (immediately
after the HTML footer <div>).
Trait Implementations§
Source§impl Clone for DocinfoLocation
impl Clone for DocinfoLocation
Source§fn clone(&self) -> DocinfoLocation
fn clone(&self) -> DocinfoLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DocinfoLocation
Source§impl Debug for DocinfoLocation
impl Debug for DocinfoLocation
impl Eq for DocinfoLocation
Source§impl Hash for DocinfoLocation
impl Hash for DocinfoLocation
Source§impl PartialEq for DocinfoLocation
impl PartialEq for DocinfoLocation
Source§fn eq(&self, other: &DocinfoLocation) -> bool
fn eq(&self, other: &DocinfoLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocinfoLocation
Auto Trait Implementations§
impl Freeze for DocinfoLocation
impl RefUnwindSafe for DocinfoLocation
impl Send for DocinfoLocation
impl Sync for DocinfoLocation
impl Unpin for DocinfoLocation
impl UnsafeUnpin for DocinfoLocation
impl UnwindSafe for DocinfoLocation
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