pub fn with_rect(element: Element) -> Element
Expand description

Converts the given element into a rect.