i_slint_core::item_rendering

Trait RenderBorderRectangle

Source
pub trait RenderBorderRectangle {
    // Required methods
    fn background(self: Pin<&Self>) -> Brush;
    fn border_width(self: Pin<&Self>) -> LogicalLength;
    fn border_radius(self: Pin<&Self>) -> LogicalBorderRadius;
    fn border_color(self: Pin<&Self>) -> Brush;
}
Expand description

Trait for an item that represent a Rectangle to the Renderer

Required Methods§

Source

fn background(self: Pin<&Self>) -> Brush

Source

fn border_width(self: Pin<&Self>) -> LogicalLength

Source

fn border_radius(self: Pin<&Self>) -> LogicalBorderRadius

Source

fn border_color(self: Pin<&Self>) -> Brush

Implementors§