pub struct BadgeConfig {
pub modifier: Modifier,
pub container_color: Color,
pub content_color: Color,
}Expand description
Configuration for Badge.
Fields§
§modifier: Modifier§container_color: Color§content_color: ColorTrait Implementations§
Source§impl Clone for BadgeConfig
impl Clone for BadgeConfig
Source§fn clone(&self) -> BadgeConfig
fn clone(&self) -> BadgeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BadgeConfig
impl Debug for BadgeConfig
Auto Trait Implementations§
impl !RefUnwindSafe for BadgeConfig
impl !Send for BadgeConfig
impl !Sync for BadgeConfig
impl !UnwindSafe for BadgeConfig
impl Freeze for BadgeConfig
impl Unpin for BadgeConfig
impl UnsafeUnpin for BadgeConfig
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