Skip to main content

extract_borders

Function extract_borders 

Source
pub fn extract_borders(main: &mut World, render: &mut World)
Expand description

Extract fn that emits one ExtractedBorder per main-world entity carrying a Transform and a Visuals::border. A border paints even when the entity has no background fill (CSS: background: none; border: 1px solid ... still draws the border). Logical border edges (border-inline-*) are resolved against the entity’s crate::components::ResolvedDirection.