Skip to main content

ButtonLayoutThemePartialExt

Trait ButtonLayoutThemePartialExt 

pub trait ButtonLayoutThemePartialExt {
    // Required methods
    fn margin(self, margin: impl Into<Gaps>) -> 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;
    fn padding(self, padding: impl Into<Gaps>) -> Self;
}

Required Methods§

fn margin(self, margin: impl Into<Gaps>) -> 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

fn padding(self, padding: impl Into<Gaps>) -> 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§