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