Trait wayland_client::protocol::wl_registry::RequestsTrait [−][src]
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>,
&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.
Implementors
impl RequestsTrait for Proxy<WlRegistry>