pub fn measure(buffer: &Buffer) -> Size
Measures the dimensions of the given cosmic_text::Buffer.
cosmic_text::Buffer