☰
In test::term::win
Structs
CONSOLE_SCREEN_BUFFER_INFO
COORD
SMALL_RECT
WinConsole
Functions
GetConsoleScreenBufferInfo
GetStdHandle
SetConsoleTextAttribute
bits_to_color
color_to_bits
Type Definitions
BOOL
DWORD
HANDLE
SHORT
WORD
?
Function
test
::
term
::
win
::
color_to_bits
source
·
[
−
]
fn color_to_bits(color:
u32
) ->
u16
🔬
This is a nightly-only experimental API. (
test
)