pub struct BadgeDefaults;Expand description
Default values for badge.
Implementations§
Source§impl BadgeDefaults
impl BadgeDefaults
pub const DOT_SIZE: f32 = 6.0
pub const LABEL_MIN_WIDTH: f32 = 16.0
pub const LABEL_HEIGHT: f32 = 16.0
pub fn color() -> Color
pub fn label_color() -> Color
Auto Trait Implementations§
impl Freeze for BadgeDefaults
impl RefUnwindSafe for BadgeDefaults
impl Send for BadgeDefaults
impl Sync for BadgeDefaults
impl Unpin for BadgeDefaults
impl UnsafeUnpin for BadgeDefaults
impl UnwindSafe for BadgeDefaults
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