[−][src]Enum penrose::core::xconnection::Atom
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_CARDINAL
MANAGER
UTF8_STRING
WM_CLASS
WM_DELETE_WINDOW
WM_PROTOCOLS
WM_STATE
WM_NAME
WM_TAKE_FOCUS
_NET_ACTIVE_WINDOW
_NET_CLIENT_LIST
_NET_CLIENT_LIST
_NET_CURRENT_DESKTOP
_NET_DESKTOP_NAMES
_NET_NUMBER_OF_DESKTOPS
_NET_SUPPORTED
_NET_SUPPORTING_WM_CHECK
_NET_SYSTEM_TRAY_OPCODE
_NET_SYSTEM_TRAY_ORIENTATION
_NET_SYSTEM_TRAY_ORIENTATION_HORZ
_NET_SYSTEM_TRAY_S0
_NET_WM_DESKTOP
_NET_WM_NAME
_NET_WM_STATE
_NET_WM_STATE_FULLSCREEN
_NET_WM_WINDOW_TYPE
_XEMBED
_XEMBED_INFO
_NET_WM_WINDOW_TYPE_DESKTOP
_NET_WM_WINDOW_TYPE_DOCK
_NET_WM_WINDOW_TYPE_TOOLBAR
_NET_WM_WINDOW_TYPE_MENU
_NET_WM_WINDOW_TYPE_UTILITY
_NET_WM_WINDOW_TYPE_SPLASH
_NET_WM_WINDOW_TYPE_DIALOG
_NET_WM_WINDOW_TYPE_DROPDOWN_MENU
_NET_WM_WINDOW_TYPE_POPUP_MENU
_NET_WM_WINDOW_TYPE_NOTIFICATION
_NET_WM_WINDOW_TYPE_COMBO
_NET_WM_WINDOW_TYPE_DND
_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.
pub fn from_str(s: &str) -> Result<Atom, Self::Err>
[src]
impl Hash for Atom
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IntoEnumIterator for Atom
[src]
impl PartialEq<Atom> for Atom
[src]
pub fn eq(&self, other: &Atom) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Atom
[src]
impl StructuralPartialEq for Atom
[src]
Auto Trait Implementations
impl RefUnwindSafe for Atom
[src]
impl Send for Atom
[src]
impl Sync for Atom
[src]
impl Unpin for Atom
[src]
impl UnwindSafe for Atom
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,