[−][src]Struct winconsole::console::ConsoleState
Represents the state of the console.
Fields
background_color: ConsoleColor
The background color of the console.
buffer_size: Vector2<u16>
The console's buffer size.
color_mapping: [RGB8; 16]
The color mapping of the console.
cursor_position: Vector2<u16>
The console cursor position.
cursor_size: u8
The console cursor size.
cursor_visible: bool
The visibility of the console cursor.
font: ConsoleFont
The console font information.
foreground_color: ConsoleColor
The foreground color of the console.
input_code_page: CodePage
The console input code page.
input_mode: InputSettings
The console input mode.
output: String
The console's output contents.
output_code_page: CodePage
The console output code page.
output_colors: Vec<(ConsoleColor, ConsoleColor)>
The colors of the console's output contents.
output_mode: OutputSettings
The console output mode.
title: String
The console window title.
Trait Implementations
impl PartialEq<ConsoleState> for ConsoleState
[src]
fn eq(&self, other: &ConsoleState) -> bool
[src]
fn ne(&self, other: &ConsoleState) -> bool
[src]
impl Clone for ConsoleState
[src]
fn clone(&self) -> ConsoleState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for ConsoleState
[src]
impl Debug for ConsoleState
[src]
impl Serialize for ConsoleState
[src]
impl<'de> Deserialize<'de> for ConsoleState
[src]
fn deserialize<D>(deserializer: D) -> Result<ConsoleState, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ConsoleState
impl Sync for ConsoleState
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,