pub struct Font {
pub b: Option<BoolVal>,
pub i: Option<BoolVal>,
pub strike: Option<BoolVal>,
pub u: Option<Underline>,
pub sz: Option<FontSize>,
pub color: Option<Color>,
pub name: Option<FontName>,
pub family: Option<FontFamily>,
pub scheme: Option<FontScheme>,
}Expand description
Individual font definition.
Fields§
§b: Option<BoolVal>§i: Option<BoolVal>§strike: Option<BoolVal>§u: Option<Underline>§sz: Option<FontSize>§color: Option<Color>§name: Option<FontName>§family: Option<FontFamily>§scheme: Option<FontScheme>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Font
impl<'de> Deserialize<'de> for Font
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Font
Auto Trait Implementations§
impl Freeze for Font
impl RefUnwindSafe for Font
impl Send for Font
impl Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
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