pub enum TextAutofit {
None,
Shape,
Normal {
font_scale: Option<f64>,
line_space_reduction: Option<f64>,
},
}Variants§
Trait Implementations§
Source§impl Clone for TextAutofit
impl Clone for TextAutofit
Source§impl Debug for TextAutofit
impl Debug for TextAutofit
Source§impl<'de> Deserialize<'de> for TextAutofit
impl<'de> Deserialize<'de> for TextAutofit
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 TextAutofit
impl PartialEq for TextAutofit
Source§impl Serialize for TextAutofit
impl Serialize for TextAutofit
impl StructuralPartialEq for TextAutofit
Auto Trait Implementations§
impl Freeze for TextAutofit
impl RefUnwindSafe for TextAutofit
impl Send for TextAutofit
impl Sync for TextAutofit
impl Unpin for TextAutofit
impl UnsafeUnpin for TextAutofit
impl UnwindSafe for TextAutofit
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