Struct dessin::shape::Text [−][src]
pub struct Text { pub pos: Rect, pub text: String, pub style: Option<Style>, pub align: TextAlign, pub font_size: f32, pub font_weight: FontWeight, }
Fields
pos: Rect
text: String
style: Option<Style>
align: TextAlign
font_size: f32
font_weight: FontWeight
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Text
impl UnwindSafe for Text
Blanket Implementations
Mutably borrows from an owned value. Read more