pub struct AvatarGroupOptions {
pub max: usize,
pub total: Option<usize>,
pub overlap: f32,
pub size: f32,
pub shape: AvatarShape,
pub rtl: bool,
}Expand description
Configuration for an overlapping avatar group.
Fields§
§max: usizeMaximum visible slots, including a surplus badge; clamped to at least two.
total: Option<usize>Total people, including those not present in the supplied items.
overlap: f32Logical-pixel overlap of neighboring bordered avatars.
size: f32Content diameter or side length before the 2 dp outline.
shape: AvatarShape§rtl: boolTrait Implementations§
Source§impl Clone for AvatarGroupOptions
impl Clone for AvatarGroupOptions
impl Copy for AvatarGroupOptions
Source§impl Debug for AvatarGroupOptions
impl Debug for AvatarGroupOptions
Auto Trait Implementations§
impl Forget for AvatarGroupOptions
impl Freeze for AvatarGroupOptions
impl Move for AvatarGroupOptions
impl RefUnwindSafe for AvatarGroupOptions
impl Send for AvatarGroupOptions
impl Sync for AvatarGroupOptions
impl Unpin for AvatarGroupOptions
impl UnsafeUnpin for AvatarGroupOptions
impl UnwindSafe for AvatarGroupOptions
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