#[non_exhaustive]pub struct StyleDef {
pub name: Name,
pub font: String,
pub bigfont: String,
pub family: Option<String>,
pub height: f64,
pub width: f64,
pub oblique: f64,
pub flags: u32,
pub generation: u32,
}Expand description
a text style of the table
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Name§font: String3: the font file (txt, simplex.shx, arial.ttf, …), 4 the big font file
bigfont: String§family: Option<String>the TrueType family the XDATA “ACAD” names (1000), if any
height: f6440 (0: none fixed), 41, 50 (degrees)
width: f64§oblique: f64§flags: u3270: 1 a shape file (not a text font), 4 vertical; 71: 2 backward, 4 upside down
generation: u32Trait Implementations§
impl StructuralPartialEq for StyleDef
Auto Trait Implementations§
impl Forget for StyleDef
impl Freeze for StyleDef
impl Move for StyleDef
impl RefUnwindSafe for StyleDef
impl Send for StyleDefwhere
RawVecInner: Send,
impl Sync for StyleDefwhere
RawVecInner: Sync,
impl Unpin for StyleDef
impl UnsafeUnpin for StyleDef
impl UnwindSafe for StyleDefwhere
RawVecInner: UnwindSafe,
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