pub trait SkeletonThemePartialExt {
// Required methods
fn background(self, background: impl Into<Color>) -> Self;
fn shimmer_color(self, shimmer_color: impl Into<Color>) -> Self;
fn duration(self, duration: impl Into<Duration>) -> Self;
fn animation(self, animation: impl Into<SkeletonAnimation>) -> Self;
fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self;
fn shimmer_from(self, shimmer_from: impl Into<f32>) -> Self;
fn shimmer_to(self, shimmer_to: impl Into<f32>) -> Self;
fn shimmer_width(self, shimmer_width: impl Into<f32>) -> Self;
}Required Methods§
fn background(self, background: impl Into<Color>) -> Self
fn shimmer_color(self, shimmer_color: impl Into<Color>) -> Self
fn duration(self, duration: impl Into<Duration>) -> Self
fn animation(self, animation: impl Into<SkeletonAnimation>) -> Self
fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self
fn shimmer_from(self, shimmer_from: impl Into<f32>) -> Self
fn shimmer_to(self, shimmer_to: impl Into<f32>) -> Self
fn shimmer_width(self, shimmer_width: impl Into<f32>) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.