pub enum IconVariant {
Outline,
Filled,
Rounded,
}Expand description
Drawing variant for an icon.
Variants§
Outline
Outline (stroke) style.
Filled
Filled (filled-path) style.
Rounded
Rounded stroke style (may alias Outline in the built-in set).
Trait Implementations§
Source§impl Clone for IconVariant
impl Clone for IconVariant
Source§fn clone(&self) -> IconVariant
fn clone(&self) -> IconVariant
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 moreimpl Copy for IconVariant
Source§impl Debug for IconVariant
impl Debug for IconVariant
impl Eq for IconVariant
Source§impl Hash for IconVariant
impl Hash for IconVariant
Source§impl PartialEq for IconVariant
impl PartialEq for IconVariant
Source§fn eq(&self, other: &IconVariant) -> bool
fn eq(&self, other: &IconVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IconVariant
Auto Trait Implementations§
impl Freeze for IconVariant
impl RefUnwindSafe for IconVariant
impl Send for IconVariant
impl Sync for IconVariant
impl Unpin for IconVariant
impl UnsafeUnpin for IconVariant
impl UnwindSafe for IconVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more