pub struct BadgeOptions {
pub gravity: BadgeGravity,
pub rtl: bool,
pub horizontal_offset: f32,
pub vertical_offset: f32,
}Expand description
Badge placement offsets are in dp, positive toward the anchor center.
Fields§
§gravity: BadgeGravity§rtl: bool§horizontal_offset: f32§vertical_offset: f32Trait Implementations§
Source§impl Clone for BadgeOptions
impl Clone for BadgeOptions
impl Copy for BadgeOptions
Source§impl Debug for BadgeOptions
impl Debug for BadgeOptions
Source§impl Default for BadgeOptions
impl Default for BadgeOptions
Source§impl PartialEq for BadgeOptions
impl PartialEq for BadgeOptions
impl StructuralPartialEq for BadgeOptions
Auto Trait Implementations§
impl Forget for BadgeOptions
impl Freeze for BadgeOptions
impl Move for BadgeOptions
impl RefUnwindSafe for BadgeOptions
impl Send for BadgeOptions
impl Sync for BadgeOptions
impl Unpin for BadgeOptions
impl UnsafeUnpin for BadgeOptions
impl UnwindSafe for BadgeOptions
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