pub struct Label { /* private fields */ }
Implementations§
Source§impl Label
impl Label
pub fn new() -> Label
pub fn background_color<C: Color>(self, background_color: C) -> Label
pub fn border_color<C: Color>(self, border_color: C) -> Label
pub fn font(self, font: Font) -> Label
pub fn align(self, align: &str) -> Label
pub fn name_length(self, name_length: i32) -> Label
pub fn name_length_array(self, name_length: Vec<i32>) -> Label
Trait 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 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