pub struct ShimmerPalette {
pub low: Option<String>,
pub mid: Option<String>,
pub high: Option<String>,
}Expand description
A shimmer’s sweep colors, as span tokens.
Fields§
§low: Option<String>The low color.
mid: Option<String>The middle color.
high: Option<String>The high color.
Trait Implementations§
Source§impl Clone for ShimmerPalette
impl Clone for ShimmerPalette
Source§impl Debug for ShimmerPalette
impl Debug for ShimmerPalette
Source§impl Default for ShimmerPalette
impl Default for ShimmerPalette
impl Eq for ShimmerPalette
Source§impl PartialEq for ShimmerPalette
impl PartialEq for ShimmerPalette
Source§impl Serialize for ShimmerPalette
impl Serialize for ShimmerPalette
impl StructuralPartialEq for ShimmerPalette
Auto Trait Implementations§
impl Freeze for ShimmerPalette
impl RefUnwindSafe for ShimmerPalette
impl Send for ShimmerPalette
impl Sync for ShimmerPalette
impl Unpin for ShimmerPalette
impl UnsafeUnpin for ShimmerPalette
impl UnwindSafe for ShimmerPalette
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