pub trait ItemExtentProvider { // Required method fn extent(&self, index: usize) -> Pixels; }
Return an item’s extent. The list snapshots each value once during construction; non-finite and negative values are treated as zero.
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".