pub trait MenuItemThemePartialExt {
// Required methods
fn hover_background(self, hover_background: impl Into<Color>) -> Self;
fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self;
fn color(self, color: impl Into<Color>) -> Self;
}Required Methods§
fn hover_background(self, hover_background: impl Into<Color>) -> Self
fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self
fn color(self, color: impl Into<Color>) -> 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.