Struct pax_std::types::text::SystemFont
source · pub struct SystemFont {
pub family: String,
pub style: FontStyle,
pub weight: FontWeight,
}
Fields§
§family: String
§style: FontStyle
§weight: FontWeight
Trait Implementations§
source§impl Clone for SystemFont
impl Clone for SystemFont
source§fn clone(&self) -> SystemFont
fn clone(&self) -> SystemFont
Returns a copy of the value. Read more
1.0.0 · 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 SystemFont
impl Debug for SystemFont
source§impl Default for SystemFont
impl Default for SystemFont
source§impl<'de> Deserialize<'de> for SystemFont
impl<'de> Deserialize<'de> for SystemFont
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 SystemFont
impl Interpolatable for SystemFont
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl Serialize for SystemFont
impl Serialize for SystemFont
impl ImplToFromPaxAny for SystemFont
Auto Trait Implementations§
impl Freeze for SystemFont
impl RefUnwindSafe for SystemFont
impl Send for SystemFont
impl Sync for SystemFont
impl Unpin for SystemFont
impl UnwindSafe for SystemFont
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.