Enum wineventhook::ConsoleWindowEvent
source · #[repr(i32)]pub enum ConsoleWindowEvent {
Caret = 16_385,
UpdateRegion = 16_386,
UpdateSimple = 16_387,
UpdateScroll = 16_388,
Layout = 16_389,
StartApplication = 16_390,
EndApplication = 16_391,
}
Expand description
A known event indicating a change in a console window.
Variants§
Caret = 16_385
UpdateRegion = 16_386
UpdateSimple = 16_387
UpdateScroll = 16_388
Layout = 16_389
StartApplication = 16_390
EndApplication = 16_391
Trait Implementations§
source§impl Clone for ConsoleWindowEvent
impl Clone for ConsoleWindowEvent
source§fn clone(&self) -> ConsoleWindowEvent
fn clone(&self) -> ConsoleWindowEvent
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 ConsoleWindowEvent
impl Debug for ConsoleWindowEvent
source§impl From<ConsoleWindowEvent> for i32
impl From<ConsoleWindowEvent> for i32
source§fn from(enum_value: ConsoleWindowEvent) -> Self
fn from(enum_value: ConsoleWindowEvent) -> Self
Converts to this type from the input type.
source§impl Hash for ConsoleWindowEvent
impl Hash for ConsoleWindowEvent
source§impl Ord for ConsoleWindowEvent
impl Ord for ConsoleWindowEvent
source§fn cmp(&self, other: &ConsoleWindowEvent) -> Ordering
fn cmp(&self, other: &ConsoleWindowEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ConsoleWindowEvent
impl PartialEq for ConsoleWindowEvent
source§fn eq(&self, other: &ConsoleWindowEvent) -> bool
fn eq(&self, other: &ConsoleWindowEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConsoleWindowEvent
impl PartialOrd for ConsoleWindowEvent
source§fn partial_cmp(&self, other: &ConsoleWindowEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &ConsoleWindowEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ConsoleWindowEvent
impl TryFrom<i32> for ConsoleWindowEvent
§type Error = TryFromPrimitiveError<ConsoleWindowEvent>
type Error = TryFromPrimitiveError<ConsoleWindowEvent>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for ConsoleWindowEvent
impl TryFromPrimitive for ConsoleWindowEvent
type Primitive = i32
type Error = TryFromPrimitiveError<ConsoleWindowEvent>
const NAME: &'static str = "ConsoleWindowEvent"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ConsoleWindowEvent
impl Eq for ConsoleWindowEvent
impl StructuralPartialEq for ConsoleWindowEvent
Auto Trait Implementations§
impl RefUnwindSafe for ConsoleWindowEvent
impl Send for ConsoleWindowEvent
impl Sync for ConsoleWindowEvent
impl Unpin for ConsoleWindowEvent
impl UnwindSafe for ConsoleWindowEvent
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