[−][src]Enum cat_engine::WindowEvent
Внешние события окна.
Outer window events.
Variants
Кадр окна можно обновить.
Emitted when when the window should be redrawn.
Приложение приостановлено.
Emitted when the application has been suspended.
Приложение возобновлено.
Emitted when the application has been resumed.
Hide(bool)
Окно свёрнуто.
True - окно сворачивается, false - разворачивается.
The window minimized.
The parameter is true if the window gets hidden, and false if the window gets back. feature = "auto_hide"
Размера окна изменён. Содержит новый размер.
The size of the window has changed. Contains the client area's new dimensions.
Окно сдвинуто. Содержит новую позицию.
The position of the window has changed. Contains the window's new position.
Сдвиг мышки (сдвиг за пределы экрана игнорируется).
Mouse movement (moving beyond the window border is ignored).
Describes a difference in the mouse scroll wheel state.
MousePressed(MouseButton)
MouseReleased(MouseButton)
KeyboardPressed(KeyboardButton)
KeyboardReleased(KeyboardButton)
CharacterInput(char)
Shift, Ctrl, Alt или Logo нажаты.
Shift, Ctrl, Alt or Logo pressed.
DroppedFile(PathBuf)
A file has been dropped into the window. When the user drops multiple files at once, this event will be emitted for each file separately.
HoveredFile(PathBuf)
A file is being hovered over the window. When the user hovers multiple files at once, this event will be emitted for each file separately.
A file was hovered, but has exited the window. There will be a single HoveredFileCancelled event triggered even if multiple files were hovered.
Trait Implementations
impl Clone for WindowEvent
[src]
fn clone(&self) -> WindowEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WindowEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowEvent
impl Send for WindowEvent
impl Sync for WindowEvent
impl Unpin for WindowEvent
impl UnwindSafe for WindowEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
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> 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>,