[][src]Struct penrose::contrib::hooks::LayoutSymbolAsRootName

pub struct LayoutSymbolAsRootName {}

Automatically set the X root window WM_NAME property to be the current layout symbol for the active workspace.

This is intended for use with external programs such as Polybar as a way of exposing state.

Implementations

impl LayoutSymbolAsRootName[src]

pub fn new() -> Box<Self>[src]

Construct a pre-boxed instance of the LayoutSymbolAsRootName hook

Trait Implementations

impl Clone for LayoutSymbolAsRootName[src]

impl Copy for LayoutSymbolAsRootName[src]

impl Debug for LayoutSymbolAsRootName[src]

impl Eq for LayoutSymbolAsRootName[src]

impl Hash for LayoutSymbolAsRootName[src]

impl<X: XConn> Hook<X> for LayoutSymbolAsRootName[src]

impl PartialEq<LayoutSymbolAsRootName> for LayoutSymbolAsRootName[src]

impl StructuralEq for LayoutSymbolAsRootName[src]

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