[−][src]Trait wayland_protocols::unstable::idle_inhibit::v1::client::zwp_idle_inhibit_manager_v1::RequestsTrait
Required methods
fn destroy(&self)
destroy the idle inhibitor object
Destroy the inhibit manager.
This is a destructor, you cannot send requests to this object any longer once this method is called.
fn create_inhibitor<F>(
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<ZwpIdleInhibitorV1>, ()> where
F: FnOnce(NewProxy<ZwpIdleInhibitorV1>) -> Proxy<ZwpIdleInhibitorV1>,
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<ZwpIdleInhibitorV1>, ()> where
F: FnOnce(NewProxy<ZwpIdleInhibitorV1>) -> Proxy<ZwpIdleInhibitorV1>,
create a new inhibitor object
Create a new inhibitor object associated with the given surface.
Implementations on Foreign Types
impl RequestsTrait for Proxy<ZwpIdleInhibitManagerV1>
[src]
fn destroy(&self)
[src]
fn create_inhibitor<F>(
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<ZwpIdleInhibitorV1>, ()> where
F: FnOnce(NewProxy<ZwpIdleInhibitorV1>) -> Proxy<ZwpIdleInhibitorV1>,
[src]
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<ZwpIdleInhibitorV1>, ()> where
F: FnOnce(NewProxy<ZwpIdleInhibitorV1>) -> Proxy<ZwpIdleInhibitorV1>,