pub struct IconStyle {
pub color: Color,
pub detail: Color,
pub shadow: Option<Color>,
}Expand description
Colors for one icon draw.
Fields§
§color: ColorSilhouette color.
detail: ColorInner marks; IconStyle::new derives a darker shade of color.
shadow: Option<Color>Optional soft drop shadow drawn under the silhouette.
Implementations§
Trait Implementations§
impl Copy for IconStyle
impl StructuralPartialEq for IconStyle
Auto Trait Implementations§
impl Freeze for IconStyle
impl RefUnwindSafe for IconStyle
impl Send for IconStyle
impl Sync for IconStyle
impl Unpin for IconStyle
impl UnwindSafe for IconStyle
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