[][src]Struct penrose::layout::LayoutConf

pub struct LayoutConf {
    pub floating: bool,
    pub gapless: bool,
    pub follow_focus: bool,
}

When and how a Layout should be applied.

Fields

floating: bool

If true, this layout function will not be called to produce resize actions

gapless: bool

Should gaps be dropped regardless of config

follow_focus: bool

Should this layout be triggered by window focus as well as add/remove client

Implementations

impl LayoutConf[src]

pub fn default() -> LayoutConf[src]

A layout config that only triggers when clients are added / removed and follows user defined config options.

Trait Implementations

impl Clone for LayoutConf[src]

impl Copy for LayoutConf[src]

impl Debug for LayoutConf[src]

impl Eq for LayoutConf[src]

impl PartialEq<LayoutConf> for LayoutConf[src]

impl StructuralEq for LayoutConf[src]

impl StructuralPartialEq for LayoutConf[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.