LogicalPropertiesConvenience

Trait LogicalPropertiesConvenience 

Source
pub trait LogicalPropertiesConvenience {
    // Required methods
    fn margin_inline_start_4(self) -> Self;
    fn margin_inline_end_4(self) -> Self;
    fn padding_inline_start_2(self) -> Self;
    fn padding_inline_end_2(self) -> Self;
    fn padding_inline_start_4(self) -> Self;
    fn padding_inline_end_4(self) -> Self;
    fn border_inline_start_1(self) -> Self;
    fn border_inline_end_1(self) -> Self;
    fn border_inline_start_2(self) -> Self;
    fn border_inline_end_2(self) -> Self;
}
Expand description

Convenience methods for common spacing values

Required Methods§

Source

fn margin_inline_start_4(self) -> Self

Set margin inline start to 4

Source

fn margin_inline_end_4(self) -> Self

Set margin inline end to 4

Source

fn padding_inline_start_2(self) -> Self

Set padding inline start to 2

Source

fn padding_inline_end_2(self) -> Self

Set padding inline end to 2

Source

fn padding_inline_start_4(self) -> Self

Set padding inline start to 4

Source

fn padding_inline_end_4(self) -> Self

Set padding inline end to 4

Source

fn border_inline_start_1(self) -> Self

Set border inline start to 1

Source

fn border_inline_end_1(self) -> Self

Set border inline end to 1

Source

fn border_inline_start_2(self) -> Self

Set border inline start to 2

Source

fn border_inline_end_2(self) -> Self

Set border inline end to 2

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§