pub fn parse_display(
    dpy_name: Option<&str>
) -> Result<ParsedDisplay, DisplayParsingError>
Expand description

Parse an X11 display string.

If dpy_name is None, the display is parsed from the environment variable DISPLAY.

This function is only available when the std feature is enabled.