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§
Source§impl Clone for TextMeasureConfig
impl Clone for TextMeasureConfig
Auto Trait Implementations§
impl Forget for TextMeasureConfig
impl Freeze for TextMeasureConfig
impl Move for TextMeasureConfig
impl RefUnwindSafe for TextMeasureConfig
impl Send for TextMeasureConfig
impl Sync for TextMeasureConfigwhere
RawVecInner: Sync,
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