Trait ButtonLayoutThemePartialExt

Source
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§

Source

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

Source

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§