Struct ms_oforms::properties::font::StdFont
source · pub struct StdFont {
pub charset: i16,
pub flags: FontFlags,
pub weight: i16,
pub height: NonZeroU32,
pub font_face: String,
}
Fields§
§charset: i16
A signed integer that specifies the character set of the font.
flags: FontFlags
A FONTFLAGS
that specifies style characteristics of the font.
weight: i16
A signed integer that specifies the weight of the font. MUST be in the range from zero through 1000. A value of zero specifies that the weight is to be determined by the application. A value in the range from 1 through 1000 specifies a weight, where 1 specifies the lightest type and 1000 specifies the darkest type.
height: NonZeroU32
An unsigned integer that specifies the height, in ten-thousandths of a point, of the font. MUST be greater than zero and less than or equal to 655350000.
font_face: String
An ASCII string that specifies the name of the font.
Trait Implementations§
source§impl PartialEq<StdFont> for StdFont
impl PartialEq<StdFont> for StdFont
impl Eq for StdFont
impl StructuralEq for StdFont
impl StructuralPartialEq for StdFont
Auto Trait Implementations§
impl RefUnwindSafe for StdFont
impl Send for StdFont
impl Sync for StdFont
impl Unpin for StdFont
impl UnwindSafe for StdFont
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