pub struct Label<'a> {
pub x: f64,
pub y: f64,
pub text: &'a str,
pub color: Color,
}Expand description
Label to draw some text on the canvas
Fields§
§x: f64§y: f64§text: &'a str§color: ColorAuto Trait Implementations§
impl<'a> Freeze for Label<'a>
impl<'a> RefUnwindSafe for Label<'a>
impl<'a> Send for Label<'a>
impl<'a> Sync for Label<'a>
impl<'a> Unpin for Label<'a>
impl<'a> UnwindSafe for Label<'a>
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