[][src]Enum penrose::layout::LayoutKind

pub enum LayoutKind {
    Floating,
    Gapless,
    Normal,
}

How a given layout should treat borders, gaps and floating windows.

Almost all layouts will be 'Normal' but penrose allows both for layouts that explicitly remove gaps and window borders and for floating layouts that do not apply resize actions to their windows. While it is possible to have multiple floating layouts, there isn't much point as kind == Floating disables calling through to the wrapped layout function.

Variants

Floating

Floating layouts will not apply window resizing

Gapless

Prevent borders and gaps being added to windows

Normal

Gaps and borders will be added as per config.rs

Trait Implementations

impl Clone for LayoutKind[src]

impl Copy for LayoutKind[src]

impl Debug for LayoutKind[src]

impl Eq for LayoutKind[src]

impl PartialEq<LayoutKind> for LayoutKind[src]

impl StructuralEq for LayoutKind[src]

impl StructuralPartialEq for LayoutKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.