[][src]Enum penrose::core::xconnection::Atom

pub enum Atom {
    Atom,
    Window,
    Cardinal,
    Manager,
    UTF8String,
    WmClass,
    WmDeleteWindow,
    WmProtocols,
    WmState,
    WmName,
    WmTakeFocus,
    NetActiveWindow,
    NetClientList,
    NetClientListStacking,
    NetCurrentDesktop,
    NetDesktopNames,
    NetNumberOfDesktops,
    NetSupported,
    NetSupportingWmCheck,
    NetSystemTrayOpcode,
    NetSystemTrayOrientation,
    NetSystemTrayOrientationHorz,
    NetSystemTrayS0,
    NetWmDesktop,
    NetWmName,
    NetWmState,
    NetWmStateFullscreen,
    NetWmWindowType,
    XEmbed,
    XEmbedInfo,
    NetWindowTypeDesktop,
    NetWindowTypeDock,
    NetWindowTypeToolbar,
    NetWindowTypeMenu,
    NetWindowTypeUtility,
    NetWindowTypeSplash,
    NetWindowTypeDialog,
    NetWindowTypeDropdownMenu,
    NetWindowTypePopupMenu,
    NetWindowTypeNotification,
    NetWindowTypeCombo,
    NetWindowTypeDnd,
    NetWindowTypeNormal,
}

A Penrose internal representation of X atoms.

Atom names are shared between all X11 API libraries so this enum allows us to get a little bit of type safety around their use. Implementors of XConn should accept any variant of Atom that they are passed by client code.

Variants

Atom

ATOM

Window

ATOM_WINDOW

Cardinal

ATOM_CARDINAL

Manager

MANAGER

UTF8String

UTF8_STRING

WmClass

WM_CLASS

WmDeleteWindow

WM_DELETE_WINDOW

WmProtocols

WM_PROTOCOLS

WmState

WM_STATE

WmName

WM_NAME

WmTakeFocus

WM_TAKE_FOCUS

NetActiveWindow

_NET_ACTIVE_WINDOW

NetClientList

_NET_CLIENT_LIST

NetClientListStacking

_NET_CLIENT_LIST

NetCurrentDesktop

_NET_CURRENT_DESKTOP

NetDesktopNames

_NET_DESKTOP_NAMES

NetNumberOfDesktops

_NET_NUMBER_OF_DESKTOPS

NetSupported

_NET_SUPPORTED

NetSupportingWmCheck

_NET_SUPPORTING_WM_CHECK

NetSystemTrayOpcode

_NET_SYSTEM_TRAY_OPCODE

NetSystemTrayOrientation

_NET_SYSTEM_TRAY_ORIENTATION

NetSystemTrayOrientationHorz

_NET_SYSTEM_TRAY_ORIENTATION_HORZ

NetSystemTrayS0

_NET_SYSTEM_TRAY_S0

NetWmDesktop

_NET_WM_DESKTOP

NetWmName

_NET_WM_NAME

NetWmState

_NET_WM_STATE

NetWmStateFullscreen

_NET_WM_STATE_FULLSCREEN

NetWmWindowType

_NET_WM_WINDOW_TYPE

XEmbed

_XEMBED

XEmbedInfo

_XEMBED_INFO

NetWindowTypeDesktop

_NET_WM_WINDOW_TYPE_DESKTOP

NetWindowTypeDock

_NET_WM_WINDOW_TYPE_DOCK

NetWindowTypeToolbar

_NET_WM_WINDOW_TYPE_TOOLBAR

NetWindowTypeMenu

_NET_WM_WINDOW_TYPE_MENU

NetWindowTypeUtility

_NET_WM_WINDOW_TYPE_UTILITY

NetWindowTypeSplash

_NET_WM_WINDOW_TYPE_SPLASH

NetWindowTypeDialog

_NET_WM_WINDOW_TYPE_DIALOG

NetWindowTypeDropdownMenu

_NET_WM_WINDOW_TYPE_DROPDOWN_MENU

NetWindowTypePopupMenu

_NET_WM_WINDOW_TYPE_POPUP_MENU

NetWindowTypeNotification

_NET_WM_WINDOW_TYPE_NOTIFICATION

NetWindowTypeCombo

_NET_WM_WINDOW_TYPE_COMBO

NetWindowTypeDnd

_NET_WM_WINDOW_TYPE_DND

NetWindowTypeNormal

_NET_WM_WINDOW_TYPE_NORMAL

Trait Implementations

impl AsRef<str> for Atom[src]

impl Clone for Atom[src]

impl Copy for Atom[src]

impl Debug for Atom[src]

impl Eq for Atom[src]

impl FromStr for Atom[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Hash for Atom[src]

impl IntoEnumIterator for Atom[src]

type Iterator = AtomIter

impl PartialEq<Atom> for Atom[src]

impl StructuralEq for Atom[src]

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