pub enum PackagedFontStyle {
Normal,
Italic,
Oblique,
}Expand description
Font slope metadata used by packaged design-system fonts.
Variants§
Trait Implementations§
Source§impl Clone for PackagedFontStyle
impl Clone for PackagedFontStyle
Source§fn clone(&self) -> PackagedFontStyle
fn clone(&self) -> PackagedFontStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PackagedFontStyle
Source§impl Debug for PackagedFontStyle
impl Debug for PackagedFontStyle
Source§impl Default for PackagedFontStyle
impl Default for PackagedFontStyle
Source§fn default() -> PackagedFontStyle
fn default() -> PackagedFontStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PackagedFontStyle
impl<'de> Deserialize<'de> for PackagedFontStyle
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
impl Eq for PackagedFontStyle
Source§impl PartialEq for PackagedFontStyle
impl PartialEq for PackagedFontStyle
Source§impl Serialize for PackagedFontStyle
impl Serialize for PackagedFontStyle
impl StructuralPartialEq for PackagedFontStyle
Auto Trait Implementations§
impl Freeze for PackagedFontStyle
impl RefUnwindSafe for PackagedFontStyle
impl Send for PackagedFontStyle
impl Sync for PackagedFontStyle
impl Unpin for PackagedFontStyle
impl UnsafeUnpin for PackagedFontStyle
impl UnwindSafe for PackagedFontStyle
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