Struct comfy_core::DrawText
source · pub struct DrawText {
pub text: String,
pub position: Vec2,
pub font: FontId,
pub color: Color,
pub align: TextAlign,
}Fields§
§text: String§position: Vec2§font: FontId§color: Color§align: TextAlignAuto Trait Implementations§
impl RefUnwindSafe for DrawText
impl Send for DrawText
impl Sync for DrawText
impl Unpin for DrawText
impl UnwindSafe for DrawText
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