[][src]Function winconsole::window::get_position

pub fn get_position() -> WinResult<Vector2<i32>>

Returns the position of the console window in pixels.

Examples

let position = window::get_position().unwrap();
println!("Window position: {:?}", position);

Errors