Trait BorderPropertiesType

Source
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§

Source

fn get_color(&self) -> &Color

Source

fn get_color_mut(&mut self) -> &mut Color

Source

fn set_color(&mut self, value: Color) -> &mut Self

Source

fn get_style(&self) -> &BorderStyleValues

Source

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.

Implementors§