pub struct FontDef {
pub id: String,
pub family: Option<String>,
pub path: Option<String>,
pub fallback: Option<String>,
}Fields§
§id: String§family: Option<String>§path: Option<String>§fallback: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for FontDef
impl<'de> Deserialize<'de> for FontDef
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 FontDef
Auto Trait Implementations§
impl Freeze for FontDef
impl RefUnwindSafe for FontDef
impl Send for FontDef
impl Sync for FontDef
impl Unpin for FontDef
impl UnsafeUnpin for FontDef
impl UnwindSafe for FontDef
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