Enum NSWindowCollectionBehavior

Source
#[repr(u64)]
pub enum NSWindowCollectionBehavior {
Show 13 variants Default = 0, CanJoinAllSpaces = 1, MoveToActiveSpace = 2, Managed = 4, Transient = 8, Stationary = 16, ParticipatesInCycle = 32, IgnoresCycle = 64, FullScreenPrimary = 128, FullScreenAuxiliary = 256, FullScreenNone = 512, FullScreenAllowsTiling = 2_048, FullScreenDisallowsTiling = 4_096,
}
Expand description

Window collection behaviors related to Exposé and Spaces.

Variants§

§

Default = 0

The window appears in only one space at a time.

§

CanJoinAllSpaces = 1

The window appears in all spaces.

§

MoveToActiveSpace = 2

When the window becomes active, move it to the active space instead of switching spaces.

§

Managed = 4

The window participates in Spaces and Exposé.

§

Transient = 8

The window floats in Spaces and hides in Exposé.

§

Stationary = 16

Exposé doesn’t affect the window, so it stays visible and stationary, like the desktop window.

§

ParticipatesInCycle = 32

The window participates in the window cycle for use with the Cycle Through Windows menu item.

§

IgnoresCycle = 64

The window isn’t part of the window cycle for use with the Cycle Through Windows menu item.

§

FullScreenPrimary = 128

The window can enter full-screen mode.

§

FullScreenAuxiliary = 256

The window can display on the same space as the full-screen window.

§

FullScreenNone = 512

The window doesn’t support full-screen mode.

§

FullScreenAllowsTiling = 2_048

The window can be a secondary full screen tile even if it can’t be a full screen window itself.

§

FullScreenDisallowsTiling = 4_096

The window doesn’t support being a full-screen tile window, but may support being a full-screen window.

Trait Implementations§

Source§

impl Clone for NSWindowCollectionBehavior

Source§

fn clone(&self) -> NSWindowCollectionBehavior

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NSWindowCollectionBehavior

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for NSWindowCollectionBehavior

Source§

fn eq(&self, other: &NSWindowCollectionBehavior) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for NSWindowCollectionBehavior

Source§

impl Eq for NSWindowCollectionBehavior

Source§

impl StructuralPartialEq for NSWindowCollectionBehavior

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.