pub trait BorderPropertiesType {
// Required methods
fn get_color(&self) -> &Color;
fn get_color_mut(&mut self) -> &mut Color;
fn set_color(&mut self, value: Color) -> &mut Self;
fn get_style(&self) -> &BorderStyleValues;
fn set_style(&mut self, value: BorderStyleValues) -> &mut Self;
}Required Methods§
fn get_color(&self) -> &Color
fn get_color_mut(&mut self) -> &mut Color
fn set_color(&mut self, value: Color) -> &mut Self
fn get_style(&self) -> &BorderStyleValues
fn set_style(&mut self, value: BorderStyleValues) -> &mut 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.