[][src]Struct penrose::client::Client

pub struct Client { /* fields omitted */ }

Meta-data around a client window that we are handling.

Primarily state flags and information used when determining which clients to show for a given monitor and how they are tiled.

Implementations

impl Client[src]

pub fn new(
    id: WinId,
    wm_class: String,
    workspace: usize,
    floating: bool
) -> Client
[src]

Track a new client window on a specific workspace

pub fn id(&self) -> WinId[src]

The X window ID of this client

pub fn wm_class(&self) -> &str[src]

pub fn workspace(&self) -> usize[src]

The current workspace index that this client is showing on

pub fn set_workspace(&mut self, workspace: usize)[src]

Mark this window as being on a new workspace

pub fn class(&self) -> &str[src]

The WM_CLASS of the window that this Client is tracking

Trait Implementations

impl Clone for Client[src]

impl Debug for Client[src]

impl PartialEq<Client> for Client[src]

impl StructuralPartialEq for Client[src]

Auto Trait Implementations

impl RefUnwindSafe for Client

impl Send for Client

impl Sync for Client

impl Unpin for Client

impl UnwindSafe for Client

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.