pub struct Font {
pub family: Box<dyn PropertyInstance<String>>,
pub variant: Box<dyn PropertyInstance<String>>,
pub size: Box<dyn PropertyInstance<SizePixels>>,
}Fields
family: Box<dyn PropertyInstance<String>>variant: Box<dyn PropertyInstance<String>>size: Box<dyn PropertyInstance<SizePixels>>Trait Implementations
sourceimpl Interpolatable for Font
impl Interpolatable for Font
fn interpolate(&self, other: &Self, t: f64) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Font
impl !Send for Font
impl !Sync for Font
impl Unpin for Font
impl !UnwindSafe for Font
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
sourcefn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
sourceimpl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
sourcefn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.