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 const DOT_OFFSET_X: f32 = 6.0
pub const DOT_OFFSET_Y: f32 = 6.0
pub const CONTENT_OFFSET_X: f32 = 12.0
pub const CONTENT_OFFSET_Y: f32 = 14.0
pub fn container_color() -> Color
pub fn content_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