pub struct TextFontAxisSetting {
pub tag: SmolStr,
pub value: f32,
}Expand description
A single variable font axis setting, identified by a 4-byte OpenType axis tag.
Fields§
§tag: SmolStr§value: f32Trait Implementations§
Source§impl Clone for TextFontAxisSetting
impl Clone for TextFontAxisSetting
Source§fn clone(&self) -> TextFontAxisSetting
fn clone(&self) -> TextFontAxisSetting
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 TextFontAxisSetting
impl Debug for TextFontAxisSetting
Source§impl<'de> Deserialize<'de> for TextFontAxisSetting
impl<'de> Deserialize<'de> for TextFontAxisSetting
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 PartialEq for TextFontAxisSetting
impl PartialEq for TextFontAxisSetting
Source§impl Serialize for TextFontAxisSetting
impl Serialize for TextFontAxisSetting
impl StructuralPartialEq for TextFontAxisSetting
Auto Trait Implementations§
impl Freeze for TextFontAxisSetting
impl RefUnwindSafe for TextFontAxisSetting
impl Send for TextFontAxisSetting
impl Sync for TextFontAxisSetting
impl Unpin for TextFontAxisSetting
impl UnsafeUnpin for TextFontAxisSetting
impl UnwindSafe for TextFontAxisSetting
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