pub enum CoverAlign {
Center,
Left,
}Expand description
Horizontal alignment of the cover-page text blocks.
Variants§
Center
Centred in the body column (the default).
Left
Flush against the left margin — fits a “title page” look where the title and metadata stack at the top-left.
Trait Implementations§
Source§impl Clone for CoverAlign
impl Clone for CoverAlign
impl Copy for CoverAlign
Source§impl Debug for CoverAlign
impl Debug for CoverAlign
Source§impl Default for CoverAlign
impl Default for CoverAlign
Source§impl<'de> Deserialize<'de> for CoverAlign
impl<'de> Deserialize<'de> for CoverAlign
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CoverAlign
impl PartialEq for CoverAlign
impl StructuralPartialEq for CoverAlign
Auto Trait Implementations§
impl Forget for CoverAlign
impl Freeze for CoverAlign
impl Move for CoverAlign
impl RefUnwindSafe for CoverAlign
impl Send for CoverAlign
impl Sync for CoverAlign
impl Unpin for CoverAlign
impl UnsafeUnpin for CoverAlign
impl UnwindSafe for CoverAlign
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
impl<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.