Struct graphics::text::Text [−][src]
Expand description
Renders text
Fields
color: ColorThe color
font_size: FontSizeThe font size
round: boolWhether or not the text’s position should be rounded (to a signed distance field).
Implementations
A builder method indicating that the Text’s position should be rounded upon drawing.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Text
impl UnwindSafe for Text
Blanket Implementations
Mutably borrows from an owned value. Read more