#[repr(i32)]pub enum PlatformInhibitionType {
AppSleep = 0,
}Expand description
A platform specific behavior that can be inhibited.
Variants§
AppSleep = 0
When inhibited, prevents the app from being put to sleep or being given a lower priority when not in focus.
Trait Implementations§
Source§impl Clone for PlatformInhibitionType
impl Clone for PlatformInhibitionType
impl Copy for PlatformInhibitionType
Source§impl Debug for PlatformInhibitionType
impl Debug for PlatformInhibitionType
impl Eq for PlatformInhibitionType
Source§impl Hash for PlatformInhibitionType
impl Hash for PlatformInhibitionType
Source§impl MarkupTyped for PlatformInhibitionType
impl MarkupTyped for PlatformInhibitionType
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for PlatformInhibitionType
impl PartialEq for PlatformInhibitionType
impl StructuralPartialEq for PlatformInhibitionType
Auto Trait Implementations§
impl Freeze for PlatformInhibitionType
impl RefUnwindSafe for PlatformInhibitionType
impl Send for PlatformInhibitionType
impl Sync for PlatformInhibitionType
impl Unpin for PlatformInhibitionType
impl UnsafeUnpin for PlatformInhibitionType
impl UnwindSafe for PlatformInhibitionType
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more