pub trait MenuContainerThemePartialExt {
// Required methods
fn background(self, background: impl Into<Color>) -> Self;
fn padding(self, padding: impl Into<Gaps>) -> Self;
fn shadow(self, shadow: impl Into<Color>) -> Self;
fn border_fill(self, border_fill: impl Into<Color>) -> Self;
fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self;
}Required Methods§
fn background(self, background: impl Into<Color>) -> Self
fn padding(self, padding: impl Into<Gaps>) -> Self
fn shadow(self, shadow: impl Into<Color>) -> Self
fn border_fill(self, border_fill: impl Into<Color>) -> Self
fn corner_radius(self, 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.