pub struct LocalFont {
pub family: String,
pub path: String,
pub style: FontStyle,
pub weight: FontWeight,
}
Fields§
§family: String
§path: String
§style: FontStyle
§weight: FontWeight
Trait Implementations§
source§impl<'de> Deserialize<'de> for LocalFont
impl<'de> Deserialize<'de> for LocalFont
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
source§impl Interpolatable for LocalFont
impl Interpolatable for LocalFont
fn interpolate(&self, _other: &Self, _t: f64) -> Self
impl ImplToFromPaxAny for LocalFont
Auto Trait Implementations§
impl Freeze for LocalFont
impl RefUnwindSafe for LocalFont
impl Send for LocalFont
impl Sync for LocalFont
impl Unpin for LocalFont
impl UnwindSafe for LocalFont
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
source§impl<T> CoercionRules for Twhere
T: ImplToFromPaxAny,
impl<T> CoercionRules for Twhere
T: ImplToFromPaxAny,
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.