Enum winit::os::macos::ActivationPolicy
[−]
[src]
pub enum ActivationPolicy { Regular, Accessory, Prohibited, }
Corresponds to NSApplicationActivationPolicy
.
Variants
Regular
Corresponds to NSApplicationActivationPolicyRegular
.
Accessory
Corresponds to NSApplicationActivationPolicyAccessory
.
Prohibited
Corresponds to NSApplicationActivationPolicyProhibited
.
Trait Implementations
impl Debug for ActivationPolicy
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ActivationPolicy
[src]
fn clone(&self) -> ActivationPolicy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ActivationPolicy
[src]
impl PartialEq for ActivationPolicy
[src]
fn eq(&self, __arg_0: &ActivationPolicy) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Default for ActivationPolicy
[src]
impl From<ActivationPolicy> for NSApplicationActivationPolicy
[src]
fn from(activation_policy: ActivationPolicy) -> Self
[src]
Performs the conversion.