pub struct Label {
pub x: f64,
pub y: f64,
pub text: String,
pub xloc: String,
pub yloc: String,
pub color: Option<Color>,
pub style: String,
pub textcolor: Option<Color>,
pub size: String,
pub textalign: String,
pub tooltip: Option<String>,
pub text_font_family: String,
}Expand description
Represents a label drawable object
Fields§
§x: f64§y: f64§text: String§xloc: String§yloc: String§color: Option<Color>§style: String§textcolor: Option<Color>§size: String§textalign: String§tooltip: Option<String>§text_font_family: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnsafeUnpin for Label
impl UnwindSafe for Label
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