[][src]Trait wayland_client::protocol::wl_registry::RequestsTrait

pub trait RequestsTrait {
    fn bind<T: Interface, F>(
        &self,
        version: u32,
        name: u32,
        implementor: F
    ) -> Result<Proxy<T>, ()>
    where
        F: FnOnce(NewProxy<T>) -> Proxy<T>
; }

Required methods

fn bind<T: Interface, F>(
    &self,
    version: u32,
    name: u32,
    implementor: F
) -> Result<Proxy<T>, ()> where
    F: FnOnce(NewProxy<T>) -> Proxy<T>, 

bind an object to the display

Binds a new, client-created object to the server using the specified name as the identifier.

Loading content...

Implementors

impl RequestsTrait for Proxy<WlRegistry>[src]

Loading content...