pub struct FontInfo {
pub family: String,
pub fallbacks: Vec<String>,
pub weight: String,
pub style: String,
}Fields§
§family: String§fallbacks: Vec<String>§weight: String§style: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for FontInfo
impl<'de> Deserialize<'de> for FontInfo
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
Auto Trait Implementations§
impl Freeze for FontInfo
impl RefUnwindSafe for FontInfo
impl Send for FontInfo
impl Sync for FontInfo
impl Unpin for FontInfo
impl UnsafeUnpin for FontInfo
impl UnwindSafe for FontInfo
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