pub struct FontStyle {
pub bold: bool,
pub italic: bool,
pub underline: UnderlineStyle,
pub strikethrough: bool,
pub superscript: bool,
pub subscript: bool,
pub small_caps: bool,
pub all_caps: bool,
}Expand description
字体样式
Fields§
§bold: bool§italic: bool§underline: UnderlineStyle§strikethrough: bool§superscript: bool§subscript: bool§small_caps: bool§all_caps: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for FontStyle
Auto Trait Implementations§
impl Freeze for FontStyle
impl RefUnwindSafe for FontStyle
impl Send for FontStyle
impl Sync for FontStyle
impl Unpin for FontStyle
impl UnsafeUnpin for FontStyle
impl UnwindSafe for FontStyle
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