pub enum Fonts {
Fitted,
Whole,
}Expand description
Which cut of the embedded faces a folio should carry.
Variants§
Fitted
The cut faces, unless the folio’s own text reaches a character they dropped, in which case the whole ones. Never renders a character worse than upstream would, and is a fifth the bytes for a folio that stays inside what a transcript usually sets.
Whole
The whole faces, whatever this folio happens to set.
Trait Implementations§
impl Copy for Fonts
impl Eq for Fonts
impl StructuralPartialEq for Fonts
Auto Trait Implementations§
impl Freeze for Fonts
impl RefUnwindSafe for Fonts
impl Send for Fonts
impl Sync for Fonts
impl Unpin for Fonts
impl UnsafeUnpin for Fonts
impl UnwindSafe for Fonts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more