Trait BorderContainer

Source
pub trait BorderContainer {
    // Required method
    fn border_node(&mut self) -> &mut BorderStyle;

    // Provided methods
    fn border_color(self, border_color: impl Into<Color>) -> Self
       where Self: Sized { ... }
    fn border_radius(self, border_radius: BorderRadius) -> Self
       where Self: Sized { ... }
}

Required Methods§

Source

fn border_node(&mut self) -> &mut BorderStyle

Provided Methods§

Source

fn border_color(self, border_color: impl Into<Color>) -> Self
where Self: Sized,

Source

fn border_radius(self, border_radius: BorderRadius) -> Self
where Self: Sized,

Implementors§