pub struct DaInfo {
pub font_name: Option<String>,
pub font_size: f32,
pub color: Vec<f32>,
}Expand description
Resolved default-appearance info for a field (from /DA, inherited).
Fields§
§font_name: Option<String>Font resource name (e.g. Helv), without the leading slash.
font_size: f32Font size in points; 0 means auto-size.
color: Vec<f32>Text color components (1 = gray, 3 = RGB, 4 = CMYK).
Trait Implementations§
impl StructuralPartialEq for DaInfo
Auto Trait Implementations§
impl Freeze for DaInfo
impl RefUnwindSafe for DaInfo
impl Send for DaInfo
impl Sync for DaInfo
impl Unpin for DaInfo
impl UnsafeUnpin for DaInfo
impl UnwindSafe for DaInfo
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