pub trait CalendarThemePartialExt {
// Required methods
fn background(self, background: impl Into<Color>) -> Self;
fn day_background(self, day_background: impl Into<Color>) -> Self;
fn day_hover_background(
self,
day_hover_background: impl Into<Color>,
) -> Self;
fn day_selected_background(
self,
day_selected_background: impl Into<Color>,
) -> Self;
fn color(self, color: impl Into<Color>) -> Self;
fn day_other_month_color(
self,
day_other_month_color: impl Into<Color>,
) -> Self;
fn header_color(self, header_color: impl Into<Color>) -> Self;
fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self;
fn padding(self, padding: impl Into<Gaps>) -> Self;
fn day_corner_radius(
self,
day_corner_radius: impl Into<CornerRadius>,
) -> Self;
fn nav_button_hover_background(
self,
nav_button_hover_background: impl Into<Color>,
) -> Self;
}Required Methods§
fn background(self, background: impl Into<Color>) -> Self
fn day_background(self, day_background: impl Into<Color>) -> Self
fn day_hover_background(self, day_hover_background: impl Into<Color>) -> Self
fn day_selected_background( self, day_selected_background: impl Into<Color>, ) -> Self
fn color(self, color: impl Into<Color>) -> Self
fn day_other_month_color(self, day_other_month_color: impl Into<Color>) -> Self
fn header_color(self, header_color: impl Into<Color>) -> Self
fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self
fn padding(self, padding: impl Into<Gaps>) -> Self
fn day_corner_radius(self, day_corner_radius: impl Into<CornerRadius>) -> 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.