Skip to main content

PopupThemePartialExt

Trait PopupThemePartialExt 

pub trait PopupThemePartialExt {
    // Required methods
    fn background(self, background: impl Into<Color>) -> Self;
    fn color(self, color: impl Into<Color>) -> Self;
    fn width(self, width: impl Into<Size>) -> Self;
    fn height(self, height: impl Into<Size>) -> Self;
    fn padding(self, padding: impl Into<Gaps>) -> Self;
    fn spacing(self, spacing: impl Into<f32>) -> Self;
}

Required Methods§

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

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

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

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

fn padding(self, padding: impl Into<Gaps>) -> Self

fn spacing(self, spacing: 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.

Implementors§