pub struct DefaultFontConfig {
pub family: String,
pub fallbacks: Vec<String>,
pub weight: FontWeight,
pub style: FontStyle,
pub size: Option<f32>,
pub axes: Vec<AxisValue>,
}Fields§
§family: String§fallbacks: Vec<String>§weight: FontWeight§style: FontStyle§size: Option<f32>§axes: Vec<AxisValue>Trait Implementations§
Source§impl Clone for DefaultFontConfig
impl Clone for DefaultFontConfig
Source§fn clone(&self) -> DefaultFontConfig
fn clone(&self) -> DefaultFontConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultFontConfig
impl Debug for DefaultFontConfig
Source§impl<'de> Deserialize<'de> for DefaultFontConfig
impl<'de> Deserialize<'de> for DefaultFontConfig
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 DefaultFontConfig
impl RefUnwindSafe for DefaultFontConfig
impl Send for DefaultFontConfig
impl Sync for DefaultFontConfig
impl Unpin for DefaultFontConfig
impl UnsafeUnpin for DefaultFontConfig
impl UnwindSafe for DefaultFontConfig
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