pub struct WebFont {
pub family: String,
pub url: String,
pub style: FontStyle,
pub weight: FontWeight,
}Fields§
§family: String§url: String§style: FontStyle§weight: FontWeightTrait Implementations§
source§impl Interpolatable for WebFont
impl Interpolatable for WebFont
fn interpolate(&self, _other: &Self, _t: f64) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for WebFont
impl Send for WebFont
impl Sync for WebFont
impl Unpin for WebFont
impl UnwindSafe for WebFont
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, 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.