#[repr(transparent)]pub struct AppWindowClosedReason(pub i32);
Expand description
Required features: "UI_WindowManagement"
Tuple Fields
0: i32
Implementations
impl AppWindowClosedReason
impl AppWindowClosedReason
pub const Other: Self = Self(0i32)
pub const AppInitiated: Self = Self(1i32)
pub const UserInitiated: Self = Self(2i32)
Trait Implementations
impl Clone for AppWindowClosedReason
impl Clone for AppWindowClosedReason
impl Copy for AppWindowClosedReason
Auto Trait Implementations
impl RefUnwindSafe for AppWindowClosedReason
impl Send for AppWindowClosedReason
impl Sync for AppWindowClosedReason
impl Unpin for AppWindowClosedReason
impl UnwindSafe for AppWindowClosedReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more