pub enum BadgeStyle {
Flat,
Plastic,
}Expand description
Badge style.
Variants§
Trait Implementations§
Source§impl Clone for BadgeStyle
impl Clone for BadgeStyle
Source§fn clone(&self) -> BadgeStyle
fn clone(&self) -> BadgeStyle
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 BadgeStyle
impl Debug for BadgeStyle
Source§impl Default for BadgeStyle
impl Default for BadgeStyle
Source§fn default() -> BadgeStyle
fn default() -> BadgeStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for BadgeStyle
impl PartialEq for BadgeStyle
Source§fn eq(&self, other: &BadgeStyle) -> bool
fn eq(&self, other: &BadgeStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BadgeStyle
Auto Trait Implementations§
impl Freeze for BadgeStyle
impl RefUnwindSafe for BadgeStyle
impl Send for BadgeStyle
impl Sync for BadgeStyle
impl Unpin for BadgeStyle
impl UnsafeUnpin for BadgeStyle
impl UnwindSafe for BadgeStyle
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