[][src]Trait wayland_protocols::unstable::idle_inhibit::v1::client::zwp_idle_inhibit_manager_v1::RequestsTrait

pub trait RequestsTrait {
    fn destroy(&self);
fn create_inhibitor<F>(
        &self,
        surface: &Proxy<WlSurface>,
        implementor: F
    ) -> Result<Proxy<ZwpIdleInhibitorV1>, ()>
    where
        F: FnOnce(NewProxy<ZwpIdleInhibitorV1>) -> Proxy<ZwpIdleInhibitorV1>
; }

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>, 

create a new inhibitor object

Create a new inhibitor object associated with the given surface.

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZwpIdleInhibitManagerV1>[src]

Loading content...

Implementors

Loading content...