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