BorderRenderHelper
struct · ferroui-controls · v0.5.0
struct BorderRenderHelper
Renders a border with a background, caching the geometries between renders.
Members
new
fn new() -> Self
render
fn render(self: &mut Self, context: &mut DrawingContext<'_>, final_size: Size, border_thickness: Thickness, corner_radius: CornerRadius, background_sizing: BackgroundSizing, background: Option<&Rc<dyn IBrush>>, border_brush: Option<&Rc<dyn IBrush>>, box_shadows: &BoxShadows)
Renders the border and its background.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.