Trait xcb::Xid

source ·
pub trait Xid {
    // Required methods
    fn none() -> Self;
    fn resource_id(&self) -> u32;

    // Provided method
    fn is_none(&self) -> bool { ... }
}
Expand description

A X resource trait

Required Methods§

source

fn none() -> Self

Build a null X resource

source

fn resource_id(&self) -> u32

Get the underlying id of the resource

Provided Methods§

source

fn is_none(&self) -> bool

Check whether this resource is null or not

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Xid for xcb::glx::Drawable

source§

impl Xid for xcb::x::Drawable

source§

impl Xid for Fontable

source§

impl Xid for Damage

source§

impl Xid for xcb::glx::Context

source§

impl Xid for Fbconfig

source§

impl Xid for Pbuffer

source§

impl Xid for xcb::glx::Pixmap

source§

impl Xid for xcb::glx::Window

source§

impl Xid for EventXid

source§

impl Xid for Crtc

source§

impl Xid for Lease

source§

impl Xid for Mode

source§

impl Xid for Output

source§

impl Xid for Provider

source§

impl Xid for xcb::record::Context

source§

impl Xid for Glyphset

source§

impl Xid for Pictformat

source§

impl Xid for Picture

source§

impl Xid for Seg

source§

impl Xid for Alarm

source§

impl Xid for Counter

source§

impl Xid for Fence

source§

impl Xid for Atom

source§

impl Xid for Colormap

source§

impl Xid for Cursor

source§

impl Xid for Font

source§

impl Xid for Gcontext

source§

impl Xid for xcb::x::Pixmap

source§

impl Xid for xcb::x::Window

source§

impl Xid for Barrier

source§

impl Xid for Region

source§

impl Xid for Pcontext

source§

impl Xid for Encoding

source§

impl Xid for Port

source§

impl Xid for xcb::xvmc::Context

source§

impl Xid for Subpicture

source§

impl Xid for Surface