[][src]Struct penrose::core::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 id(&self) -> WinId[src]

The X window ID of this client

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

The WM_CLASS property of this client

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

The WM_NAME property of this client

pub fn is_fullscreen(&self) -> bool[src]

Whether or not this client is currently fullscreen

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

pub fn externally_managed(&mut self)[src]

Mark this client as not being managed by the WindowManager directly

pub fn internally_managed(&mut self)[src]

Mark this client as being managed by the WindowManager directly

Trait Implementations

impl Clone for Client[src]

impl Debug for Client[src]

impl Eq for Client[src]

impl Hash for Client[src]

impl PartialEq<Client> for Client[src]

impl StructuralEq for Client[src]

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