TitlebarButtonThemePartialExt

Trait TitlebarButtonThemePartialExt 

Source
pub trait TitlebarButtonThemePartialExt {
    // Required methods
    fn background(self, background: impl Into<Color>) -> Self;
    fn hover_background(self, hover_background: impl Into<Color>) -> Self;
    fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self;
    fn width(self, width: impl Into<Size>) -> Self;
    fn height(self, height: impl Into<Size>) -> Self;
}

Required Methods§

Source

fn background(self, background: impl Into<Color>) -> Self

Source

fn hover_background(self, hover_background: impl Into<Color>) -> Self

Source

fn corner_radius(self, corner_radius: impl Into<CornerRadius>) -> Self

Source

fn width(self, width: impl Into<Size>) -> Self

Source

fn height(self, height: impl Into<Size>) -> 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.

Implementors§