[][src]Struct wayland_client::Attached

pub struct Attached<I: Interface> { /* fields omitted */ }

A handle to a proxy that has been attached to an event queue

As opposed to Proxy, you can use it to send requests that create new objects. The created objects will be handled by the event queue this proxy has been attached to.

Implementations

impl<I: Interface> Attached<I> where
    I: Into<Proxy<I>> + From<Proxy<I>> + AsRef<Proxy<I>>, 
[src]

pub fn detach(&self) -> I[src]

Create a non-attached handle from this one

Trait Implementations

impl<I: Interface> Clone for Attached<I> where
    I: AsRef<Proxy<I>> + From<Proxy<I>>, 
[src]

impl<I: Interface + Debug> Debug for Attached<I>[src]

impl<I: Interface> Deref for Attached<I>[src]

type Target = I

The resulting type after dereferencing.

impl<I: Interface> From<Main<I>> for Attached<I> where
    I: AsRef<Proxy<I>> + From<Proxy<I>>, 
[src]

impl<I: PartialEq + Interface> PartialEq<Attached<I>> for Attached<I>[src]

impl<I: Interface> StructuralPartialEq for Attached<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for Attached<I> where
    I: RefUnwindSafe

impl<I> !Send for Attached<I>

impl<I> !Sync for Attached<I>

impl<I> Unpin for Attached<I> where
    I: Unpin

impl<I> UnwindSafe for Attached<I> where
    I: UnwindSafe

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> Downcast for T where
    T: Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.