Enum crossterm_winapi::HandleType
source · pub enum HandleType {
OutputHandle,
InputHandle,
CurrentOutputHandle,
CurrentInputHandle,
}
Expand description
The standard handles of a process.
See the Windows documentation on console handles for more info.
Variants§
OutputHandle
The process’ standard output.
InputHandle
The process’ standard input.
CurrentOutputHandle
The process’ active console screen buffer, CONOUT$
.
CurrentInputHandle
The process’ console input buffer, CONIN$
.
Trait Implementations§
source§impl Clone for HandleType
impl Clone for HandleType
source§fn clone(&self) -> HandleType
fn clone(&self) -> HandleType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HandleType
impl Debug for HandleType
impl Copy for HandleType
Auto Trait Implementations§
impl RefUnwindSafe for HandleType
impl Send for HandleType
impl Sync for HandleType
impl Unpin for HandleType
impl UnwindSafe for HandleType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more