pub struct PaintText {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub content: TextContent,
}Expand description
A resolved, absolutely-positioned text block.
Fields§
§x: f32§y: f32§width: f32§height: f32§content: TextContentTrait Implementations§
Auto Trait Implementations§
impl Freeze for PaintText
impl RefUnwindSafe for PaintText
impl Send for PaintText
impl Sync for PaintText
impl Unpin for PaintText
impl UnsafeUnpin for PaintText
impl UnwindSafe for PaintText
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