Function x11rb_protocol::parse_display::parse_display
source ยท 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.