pub enum BadgeNumberLimit {
Unlimited,
Max(u32),
MaxCharacters(u8),
}Expand description
The numeric overflow threshold. A character limit reserves one character for the suffix.
Variants§
Trait Implementations§
Source§impl Clone for BadgeNumberLimit
impl Clone for BadgeNumberLimit
impl Copy for BadgeNumberLimit
Auto Trait Implementations§
impl Forget for BadgeNumberLimit
impl Freeze for BadgeNumberLimit
impl Move for BadgeNumberLimit
impl RefUnwindSafe for BadgeNumberLimit
impl Send for BadgeNumberLimit
impl Sync for BadgeNumberLimit
impl Unpin for BadgeNumberLimit
impl UnsafeUnpin for BadgeNumberLimit
impl UnwindSafe for BadgeNumberLimit
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