[][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 a mere 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 atatched to.

Methods

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

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

Detach this handle, converting it into a threadsafe Proxy

Trait Implementations

impl<I: Interface> Clone 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> Deref for Attached<I>[src]

type Target = I

The resulting type after dereferencing.

Auto Trait Implementations

impl<I> !Send for Attached<I>

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

impl<I> !Sync for Attached<I>

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

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

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]