pub struct TextDraw {
pub origin_px: [f32; 2],
pub size_px: f32,
pub color: [f32; 4],
}Expand description
One placement of the published text, in physical pixels.
Fields§
§origin_px: [f32; 2]§size_px: f32§color: [f32; 4]Trait Implementations§
impl Copy for TextDraw
impl StructuralPartialEq for TextDraw
Auto Trait Implementations§
impl Freeze for TextDraw
impl RefUnwindSafe for TextDraw
impl Send for TextDraw
impl Sync for TextDraw
impl Unpin for TextDraw
impl UnsafeUnpin for TextDraw
impl UnwindSafe for TextDraw
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