#[non_exhaustive]pub enum ActivationPolicy {
Regular,
Accessory,
Prohibited,
}
Available on macOS only.
Expand description
Application’s activation policy. Corresponds to NSApplicationActivationPolicy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Regular
Corresponds to NSApplicationActivationPolicyRegular.
Accessory
Corresponds to NSApplicationActivationPolicyAccessory.
Prohibited
Corresponds to NSApplicationActivationPolicyProhibited.
Auto Trait Implementations§
impl Freeze for ActivationPolicy
impl RefUnwindSafe for ActivationPolicy
impl Send for ActivationPolicy
impl Sync for ActivationPolicy
impl Unpin for ActivationPolicy
impl UnwindSafe for ActivationPolicy
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