[−][src]Struct native_windows_gui::WindowCloseData
Opaque type that manages if a window should be closed after an OnClose event
Implementations
impl WindowCloseData
[src]
pub fn close(&self, value: bool)
[src]
Sets if the window should close after the event
pub fn closing(&self) -> bool
[src]
Returns true if the window will close after the event or false otherwise
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WindowCloseData
[src]
impl !Send for WindowCloseData
[src]
impl !Sync for WindowCloseData
[src]
impl Unpin for WindowCloseData
[src]
impl UnwindSafe for WindowCloseData
[src]
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,
pub 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, 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.
pub 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>,