pub enum Style {
Plastic,
Flat,
FlatSquare,
}
Expand description
Represents the desired style of a badge
Variants§
Plastic
Plastic generates a rounded, plastic-ish looking badge. This is the default style generated by shields.io, for instance.
Flat
Flat is just like Plastic, without gradients.
FlatSquare
FlatSquare contains no rounded corners nor gradients.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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