[][src]Struct penrose::draw::widget::Workspaces

pub struct Workspaces { /* fields omitted */ }

A simple workspace indicator for a status bar

Implementations

impl Workspaces[src]

pub fn new(
    workspace_names: &[String],
    style: &TextStyle,
    highlight: impl Into<Color>,
    empty_fg: impl Into<Color>
) -> Self
[src]

Construct a new WorkspaceWidget

Trait Implementations

impl Clone for Workspaces[src]

impl Debug for Workspaces[src]

impl<X> Hook<X> for Workspaces where
    X: XConn
[src]

impl PartialEq<Workspaces> for Workspaces[src]

impl StructuralPartialEq for Workspaces[src]

impl Widget for Workspaces[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<X, T> HookableWidget<X> for T where
    T: Hook<X> + Widget,
    X: XConn
[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.