Crate winconsole[−][src]
This crate provides a wrapper for console-related functions in the Windows API.
Usage
Add the following to Cargo.toml
:
[dependencies]
winconsole = "0.10"
Then, add the following to your code:
extern crate winconsole;
There are a few optional features:
input
- Includes input-related functions.serde
- Support for serde.window
- Includes window-related functions.
These features must be added to Cargo.toml
:
[dependencies.winconsole]
version = "0.10"
features = ["input", "serde", "window"]
Modules
console |
Contains console-related functions, structs, and enums. |
errors |
Contains various error types. |
Macros
cprint |
Prints a colored message to the console. This has a side effect of flushing the console output. |
cprintln |
Prints a colored message to the console with a newline. This has a side effect of flushing the console output. |