pub struct TypographyConfig {
pub sizes: TypographySizes,
pub weights: TypographyWeights,
}Fields§
§sizes: TypographySizes§weights: TypographyWeightsTrait Implementations§
Source§impl Clone for TypographyConfig
impl Clone for TypographyConfig
Source§fn clone(&self) -> TypographyConfig
fn clone(&self) -> TypographyConfig
Returns a duplicate 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 TypographyConfig
impl Debug for TypographyConfig
Source§impl<'de> Deserialize<'de> for TypographyConfig
impl<'de> Deserialize<'de> for TypographyConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypographyConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypographyConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TypographyConfig
impl Serialize for TypographyConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TypographyConfig
impl RefUnwindSafe for TypographyConfig
impl Send for TypographyConfig
impl Sync for TypographyConfig
impl Unpin for TypographyConfig
impl UnsafeUnpin for TypographyConfig
impl UnwindSafe for TypographyConfig
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