pub trait BorderWidthUtilities {
// Required methods
fn border_width(self, width: BorderWidth) -> Self;
fn border_width_x(self, width: BorderWidth) -> Self;
fn border_width_y(self, width: BorderWidth) -> Self;
fn border_width_t(self, width: BorderWidth) -> Self;
fn border_width_r(self, width: BorderWidth) -> Self;
fn border_width_b(self, width: BorderWidth) -> Self;
fn border_width_l(self, width: BorderWidth) -> Self;
}
Expand description
Trait for adding border width utilities to a class builder
Required Methods§
fn border_width(self, width: BorderWidth) -> Self
fn border_width_x(self, width: BorderWidth) -> Self
fn border_width_y(self, width: BorderWidth) -> Self
fn border_width_t(self, width: BorderWidth) -> Self
fn border_width_r(self, width: BorderWidth) -> Self
fn border_width_b(self, width: BorderWidth) -> Self
fn border_width_l(self, width: BorderWidth) -> 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.