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§
Sourcefn mask_alpha(self) -> Self
fn mask_alpha(self) -> Self
Set mask to alpha
Sourcefn mask_luminance(self) -> Self
fn mask_luminance(self) -> Self
Set mask to luminance
Sourcefn mask_repeat_none(self) -> Self
fn mask_repeat_none(self) -> Self
Set mask repeat to none
Sourcefn mask_repeat(self) -> Self
fn mask_repeat(self) -> Self
Set mask repeat to default
Sourcefn mask_repeat_x(self) -> Self
fn mask_repeat_x(self) -> Self
Set mask repeat to X
Sourcefn mask_repeat_y(self) -> Self
fn mask_repeat_y(self) -> Self
Set mask repeat to Y
Sourcefn mask_repeat_round(self) -> Self
fn mask_repeat_round(self) -> Self
Set mask repeat to round
Sourcefn mask_repeat_space(self) -> Self
fn mask_repeat_space(self) -> Self
Set mask repeat to space
Sourcefn mask_size_auto(self) -> Self
fn mask_size_auto(self) -> Self
Set mask size to auto
Sourcefn mask_size_cover(self) -> Self
fn mask_size_cover(self) -> Self
Set mask size to cover
Sourcefn mask_size_contain(self) -> Self
fn mask_size_contain(self) -> Self
Set mask size to contain
Sourcefn mask_center(self) -> Self
fn mask_center(self) -> Self
Set mask position to center
Sourcefn mask_bottom(self) -> Self
fn mask_bottom(self) -> Self
Set mask position to bottom
Sourcefn mask_right(self) -> Self
fn mask_right(self) -> Self
Set mask position to right
Sourcefn mask_top_left(self) -> Self
fn mask_top_left(self) -> Self
Set mask position to top left
Sourcefn mask_top_right(self) -> Self
fn mask_top_right(self) -> Self
Set mask position to top right
Sourcefn mask_bottom_left(self) -> Self
fn mask_bottom_left(self) -> Self
Set mask position to bottom left
Sourcefn mask_bottom_right(self) -> Self
fn mask_bottom_right(self) -> Self
Set mask position to bottom right
Sourcefn mask_clip_border(self) -> Self
fn mask_clip_border(self) -> Self
Set mask clip to border
Sourcefn mask_clip_padding(self) -> Self
fn mask_clip_padding(self) -> Self
Set mask clip to padding
Sourcefn mask_clip_content(self) -> Self
fn mask_clip_content(self) -> Self
Set mask clip to content
Sourcefn mask_clip_text(self) -> Self
fn mask_clip_text(self) -> Self
Set mask clip to text
Sourcefn mask_origin_border(self) -> Self
fn mask_origin_border(self) -> Self
Set mask origin to border
Sourcefn mask_origin_padding(self) -> Self
fn mask_origin_padding(self) -> Self
Set mask origin to padding
Sourcefn mask_origin_content(self) -> Self
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.