MaskUtilities

Trait MaskUtilities 

Source
pub trait MaskUtilities {
Show 28 methods // Required methods fn mask_none(self) -> Self; fn mask_alpha(self) -> Self; fn mask_luminance(self) -> Self; fn mask_repeat_none(self) -> Self; fn mask_repeat(self) -> Self; fn mask_repeat_x(self) -> Self; fn mask_repeat_y(self) -> Self; fn mask_repeat_round(self) -> Self; fn mask_repeat_space(self) -> Self; fn mask_size_auto(self) -> Self; fn mask_size_cover(self) -> Self; fn mask_size_contain(self) -> Self; fn mask_center(self) -> Self; fn mask_top(self) -> Self; fn mask_bottom(self) -> Self; fn mask_left(self) -> Self; fn mask_right(self) -> Self; fn mask_top_left(self) -> Self; fn mask_top_right(self) -> Self; fn mask_bottom_left(self) -> Self; fn mask_bottom_right(self) -> Self; fn mask_clip_border(self) -> Self; fn mask_clip_padding(self) -> Self; fn mask_clip_content(self) -> Self; fn mask_clip_text(self) -> Self; fn mask_origin_border(self) -> Self; fn mask_origin_padding(self) -> Self; fn mask_origin_content(self) -> Self;
}
Expand description

Trait for adding mask utilities to ClassBuilder

Required Methods§

Source

fn mask_none(self) -> Self

Set mask to none

Source

fn mask_alpha(self) -> Self

Set mask to alpha

Source

fn mask_luminance(self) -> Self

Set mask to luminance

Source

fn mask_repeat_none(self) -> Self

Set mask repeat to none

Source

fn mask_repeat(self) -> Self

Set mask repeat to default

Source

fn mask_repeat_x(self) -> Self

Set mask repeat to X

Source

fn mask_repeat_y(self) -> Self

Set mask repeat to Y

Source

fn mask_repeat_round(self) -> Self

Set mask repeat to round

Source

fn mask_repeat_space(self) -> Self

Set mask repeat to space

Source

fn mask_size_auto(self) -> Self

Set mask size to auto

Source

fn mask_size_cover(self) -> Self

Set mask size to cover

Source

fn mask_size_contain(self) -> Self

Set mask size to contain

Source

fn mask_center(self) -> Self

Set mask position to center

Source

fn mask_top(self) -> Self

Set mask position to top

Source

fn mask_bottom(self) -> Self

Set mask position to bottom

Source

fn mask_left(self) -> Self

Set mask position to left

Source

fn mask_right(self) -> Self

Set mask position to right

Source

fn mask_top_left(self) -> Self

Set mask position to top left

Source

fn mask_top_right(self) -> Self

Set mask position to top right

Source

fn mask_bottom_left(self) -> Self

Set mask position to bottom left

Source

fn mask_bottom_right(self) -> Self

Set mask position to bottom right

Source

fn mask_clip_border(self) -> Self

Set mask clip to border

Source

fn mask_clip_padding(self) -> Self

Set mask clip to padding

Source

fn mask_clip_content(self) -> Self

Set mask clip to content

Source

fn mask_clip_text(self) -> Self

Set mask clip to text

Source

fn mask_origin_border(self) -> Self

Set mask origin to border

Source

fn mask_origin_padding(self) -> Self

Set mask origin to padding

Source

fn mask_origin_content(self) -> Self

Set mask origin to content

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§