Struct xcb::ffi::xproto::xcb_intern_atom_request_t [−][src]
Get atom identifier by name
Retrieves the identifier (xcb_atom_t TODO) for the atom with the specified
name. Atoms are used in protocols like EWMH, for example to store window titles
(_NET_WM_NAME
atom) as property of a window.
If only_if_exists
is 0, the atom will be created if it does not already exist.
If only_if_exists
is 1, XCB_ATOM_NONE
will be returned if the atom does
not yet exist.
Fields
major_opcode: u8
only_if_exists: u8
Return a valid atom id only if the atom already exists.
length: u16
name_len: u16
The length of the following name
.
pad0: [u8; 2]
Auto Trait Implementations
impl RefUnwindSafe for xcb_intern_atom_request_t
impl Send for xcb_intern_atom_request_t
impl Sync for xcb_intern_atom_request_t
impl Unpin for xcb_intern_atom_request_t
impl UnwindSafe for xcb_intern_atom_request_t
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, 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>,