Crate crossterm_winapi[][src]

Structs

The status of the mouse buttons. The least significant bit corresponds to the leftmost mouse button. The next least significant bit corresponds to the rightmost mouse button. The next bit indicates the next-to-leftmost mouse button. The bits then correspond left to right to the mouse buttons. A bit is 1 if the button was pressed.

A wrapper around a screen buffer.

A wrapper around a screen buffer, focusing on calls to get and set the console mode.

The state of the control keys.

This is type represents the position of something on a certain ‘x’ and ‘y’.

This abstracts away some WinAPI calls to set and get some console handles.

A wrapper around a screen buffer.

Information about a console screen buffer.

This is type represents the size of something in width and height.

This is a wrapper for the locations of a rectangle.

Enums

The type of mouse event. If this value is zero, it indicates a mouse button being pressed or released. Otherwise, this member is one of the following values.

The standard handles of a process.

Functions

Get the result of a call to WinAPI that returns a COORD as an io::Result.

Get the result of a call to WinAPI that returns a handle or INVALID_HANDLE_VALUE.

Get the result of a call to WinAPI that returns a handle or NULL.

Get the result of a call to WinAPI as an io::Result.