Struct show_image::event::WindowMovedEvent
source · pub struct WindowMovedEvent {
pub window_id: WindowId,
pub position: IVec2,
}
Expand description
A window was moved.
Fields§
§window_id: WindowId
The ID of the window.
position: IVec2
The new position of the window in physical pixels.
Trait Implementations§
source§impl Clone for WindowMovedEvent
impl Clone for WindowMovedEvent
source§fn clone(&self) -> WindowMovedEvent
fn clone(&self) -> WindowMovedEvent
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 WindowMovedEvent
impl Debug for WindowMovedEvent
source§impl From<WindowMovedEvent> for WindowEvent
impl From<WindowMovedEvent> for WindowEvent
source§fn from(other: WindowMovedEvent) -> Self
fn from(other: WindowMovedEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowMovedEvent
impl RefUnwindSafe for WindowMovedEvent
impl Send for WindowMovedEvent
impl Sync for WindowMovedEvent
impl Unpin for WindowMovedEvent
impl UnwindSafe for WindowMovedEvent
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