[−][src]Function winconsole::console::get_font
pub fn get_font() -> WinResult<ConsoleFont>
Returns information about the current console font.
Examples
let font = console::get_font().unwrap(); println!("{}", font.name);
Errors
FromUtf8Error
: Returned if an error occurs while converting to a string.InvalidHandleError
: Returned if an invalid handle to the console output is retrieved or used.IoError
: Returned if an OS error occurs.