pub struct TextAttrs {
pub size: Option<f32>,
pub line_height: Option<LineHeight>,
pub width: Option<Length>,
pub height: Option<Length>,
pub align_x: Option<TextAlignment>,
pub align_y: Option<Vertical>,
pub color: Option<Color>,
pub font: Option<String>,
}Fields§
§size: Option<f32>§line_height: Option<LineHeight>§width: Option<Length>§height: Option<Length>§align_x: Option<TextAlignment>§align_y: Option<Vertical>§color: Option<Color>§font: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextAttrs
impl RefUnwindSafe for TextAttrs
impl Send for TextAttrs
impl Sync for TextAttrs
impl Unpin for TextAttrs
impl UnsafeUnpin for TextAttrs
impl UnwindSafe for TextAttrs
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