pub struct ShapeOptions<'a> {
pub font_family: Option<&'a str>,
pub font_weight: u16,
pub font_style: u8,
pub letter_spacing: f32,
pub font_variation_settings: Option<&'a str>,
pub text_direction: TextDirection,
pub font_synthesis: FontSynthesis,
}Fields§
§font_family: Option<&'a str>§font_weight: u16§font_style: u8§letter_spacing: f32§font_variation_settings: Option<&'a str>§text_direction: TextDirection§font_synthesis: FontSynthesisTrait Implementations§
Source§impl<'a> Clone for ShapeOptions<'a>
impl<'a> Clone for ShapeOptions<'a>
impl<'a> Copy for ShapeOptions<'a>
Source§impl<'a> Debug for ShapeOptions<'a>
impl<'a> Debug for ShapeOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for ShapeOptions<'a>
impl<'a> RefUnwindSafe for ShapeOptions<'a>
impl<'a> Send for ShapeOptions<'a>
impl<'a> Sync for ShapeOptions<'a>
impl<'a> Unpin for ShapeOptions<'a>
impl<'a> UnsafeUnpin for ShapeOptions<'a>
impl<'a> UnwindSafe for ShapeOptions<'a>
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