Skip to main content

normalize

Function normalize 

Source
pub fn normalize(modes: Vec<DisplayMode>) -> Vec<DisplayMode>
Expand description

The menu list for a raw enumeration: duplicates collapsed, ordered by width, then height, then refresh rate ascending (each resolution’s rate variants group together).