[][src]Struct flutterbug::Display

pub struct Display { /* fields omitted */ }

The X11 display. This is the context object used for the X11 window.

Note: This object is not clonable. Use the reference() method to get a cheap reference to this object.

Implementations

impl Display[src]

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

Create a new Display. This will call the XOpenDisplay function and store the result in an Arc. If XOpenDisplay returns null, the UnableToOpenDisplay error is returned instead.

Trait Implementations

impl Debug for Display[src]

impl Drop for Display[src]

impl Eq for Display[src]

impl GenericDisplay for Display[src]

impl PartialEq<Display> for Display[src]

Auto Trait Implementations

impl RefUnwindSafe for Display

impl !Send for Display

impl !Sync for Display

impl Unpin for Display

impl UnwindSafe for Display

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.