[][src]Struct penrose::xcb::XcbDraw

pub struct XcbDraw { /* fields omitted */ }

An XCB based Draw implementation backed by pango and cairo

Implementations

impl XcbDraw[src]

pub fn new() -> Result<Self>[src]

Create a new empty XcbDraw. Fails if unable to connect to the X server

pub fn xcb_connection(&self) -> &Connection[src]

Get a handle on the underlying XCB Connection used by Api to communicate with the X server.

pub fn api(&self) -> &Api[src]

Get an immutable handle on the underlying Api to communicate with the X server.

pub fn api_mut(&mut self) -> &mut Api[src]

Get a mutable handle on the underlying Api to communicate with the X server.

Trait Implementations

impl Debug for XcbDraw[src]

impl Draw for XcbDraw[src]

type Ctx = XcbDrawContext

The type of drawing context used for drawing

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, 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.