pub struct BadgedBoxConfig {
pub modifier: Modifier,
pub dot_offset_x: f32,
pub dot_offset_y: f32,
pub content_offset_x: f32,
pub content_offset_y: f32,
}Expand description
Configuration for BadgedBox.
Fields§
§modifier: Modifier§dot_offset_x: f32Horizontal offset for the badge when it’s a small dot.
dot_offset_y: f32Vertical offset for the badge when it’s a small dot.
content_offset_x: f32Horizontal offset for the badge when it has content.
content_offset_y: f32Vertical offset for the badge when it has content.
Trait Implementations§
Source§impl Clone for BadgedBoxConfig
impl Clone for BadgedBoxConfig
Source§fn clone(&self) -> BadgedBoxConfig
fn clone(&self) -> BadgedBoxConfig
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 BadgedBoxConfig
impl Debug for BadgedBoxConfig
Auto Trait Implementations§
impl !RefUnwindSafe for BadgedBoxConfig
impl !Send for BadgedBoxConfig
impl !Sync for BadgedBoxConfig
impl !UnwindSafe for BadgedBoxConfig
impl Freeze for BadgedBoxConfig
impl Unpin for BadgedBoxConfig
impl UnsafeUnpin for BadgedBoxConfig
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