Skip to main content

surface

Function surface 

Source
pub fn surface(id: impl Into<String>) -> Widget
Expand description

A box drawn by the code — the Surface registered under id with crate::surface::register. No natural size: give it w/h (or let a parent stretch it).