Skip to main content

ContainerSize

Type Alias ContainerSize 

Source
pub type ContainerSize = Arc<dyn Fn(NodeId, &Computed) -> Option<(f64, f64)> + Send + Sync>;
Expand description

A container’s size, width and height in CSS pixels, from the element and its computed values; None for one whose size isn’t known.

Aliased Type§

pub struct ContainerSize { /* private fields */ }