pub struct DefaultAppearance {
pub font_name: Option<String>,
pub font_size: f32,
pub color: Vec<f32>,
pub color_op: Option<String>,
}Expand description
Parsed default appearance components.
Fields§
§font_name: Option<String>Font name (PDF name without leading /).
font_size: f32Font size (0 = auto-size).
color: Vec<f32>Fill color components (gray, RGB, or CMYK).
color_op: Option<String>Color space operator: “g”, “rg”, or “k”.
Trait Implementations§
Source§impl Clone for DefaultAppearance
impl Clone for DefaultAppearance
Source§impl Debug for DefaultAppearance
impl Debug for DefaultAppearance
Auto Trait Implementations§
impl Freeze for DefaultAppearance
impl RefUnwindSafe for DefaultAppearance
impl Send for DefaultAppearance
impl Sync for DefaultAppearance
impl Unpin for DefaultAppearance
impl UnsafeUnpin for DefaultAppearance
impl UnwindSafe for DefaultAppearance
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