[−][src]Struct qt_gui::q_session_manager::RestartHint
This enum type defines the circumstances under which this application wants to be restarted by the session manager. The current values are:
C++ enum: QSessionManager::RestartHint
.
This enum type defines the circumstances under which this application wants to be restarted by the session manager. The current values are:
The default hint is RestartIfRunning
.
Methods
impl RestartHint
[src]
impl RestartHint
[src]
pub const RestartIfRunning: RestartHint
[src]
If the application is still running when the session is shut down, it wants to be restarted at the start of the next session. (C++ enum variant: RestartIfRunning = 0
)
pub const RestartAnyway: RestartHint
[src]
The application wants to be started at the start of the next session, no matter what. (This is useful for utilities that run just after startup and then quit.) (C++ enum variant: RestartAnyway = 1
)
pub const RestartImmediately: RestartHint
[src]
The application wants to be started immediately whenever it is not running. (C++ enum variant: RestartImmediately = 2
)
pub const RestartNever: RestartHint
[src]
The application does not want to be restarted automatically. (C++ enum variant: RestartNever = 3
)
Trait Implementations
impl Clone for RestartHint
[src]
fn clone(&self) -> RestartHint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RestartHint
[src]
impl Debug for RestartHint
[src]
impl Eq for RestartHint
[src]
impl From<RestartHint> for c_int
[src]
fn from(value: RestartHint) -> Self
[src]
impl From<i32> for RestartHint
[src]
impl PartialEq<RestartHint> for RestartHint
[src]
fn eq(&self, other: &RestartHint) -> bool
[src]
fn ne(&self, other: &RestartHint) -> bool
[src]
impl StructuralEq for RestartHint
[src]
impl StructuralPartialEq for RestartHint
[src]
Auto Trait Implementations
impl RefUnwindSafe for RestartHint
impl Send for RestartHint
impl Sync for RestartHint
impl Unpin for RestartHint
impl UnwindSafe for RestartHint
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, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
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>,