pub struct TextMeasureConfig {
pub font_family: Option<&'static str>,
pub font_weight: u16,
pub font_style: u8,
pub letter_spacing: f32,
pub font_variation_settings: Option<String>,
}Fields§
§font_family: Option<&'static str>§font_weight: u16§font_style: u8§letter_spacing: f32§font_variation_settings: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextMeasureConfig
impl RefUnwindSafe for TextMeasureConfig
impl Send for TextMeasureConfig
impl Sync for TextMeasureConfig
impl Unpin for TextMeasureConfig
impl UnsafeUnpin for TextMeasureConfig
impl UnwindSafe for TextMeasureConfig
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