pub struct Text {
pub value: String,
pub at: Point,
pub font: Standard14,
pub size: f32,
pub color: Color,
}Expand description
One line of text at a fixed baseline origin.
Fields§
§value: StringThe characters to show.
at: PointBaseline origin, in page user-space units.
font: Standard14Face to draw in.
size: f32Font size, in points.
color: ColorFill color.
Trait Implementations§
impl StructuralPartialEq for Text
Auto Trait Implementations§
impl Freeze for Text
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnsafeUnpin for Text
impl UnwindSafe for Text
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