[][src]Struct wayland_protocols::unstable::idle_inhibit::v1::client::zwp_idle_inhibit_manager_v1::ZwpIdleInhibitManagerV1

pub struct ZwpIdleInhibitManagerV1(_);

Implementations

impl ZwpIdleInhibitManagerV1[src]

pub fn destroy(&self)[src]

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.

pub fn create_inhibitor<F>(
    &self,
    surface: &WlSurface,
    implementor: F
) -> Result<ZwpIdleInhibitorV1, ()> where
    F: FnOnce(NewProxy<ZwpIdleInhibitorV1>) -> ZwpIdleInhibitorV1
[src]

create a new inhibitor object

Create a new inhibitor object associated with the given surface.

Trait Implementations

impl AsRef<Proxy<ZwpIdleInhibitManagerV1>> for ZwpIdleInhibitManagerV1[src]

impl Clone for ZwpIdleInhibitManagerV1[src]

impl Eq for ZwpIdleInhibitManagerV1[src]

impl From<Proxy<ZwpIdleInhibitManagerV1>> for ZwpIdleInhibitManagerV1[src]

impl From<ZwpIdleInhibitManagerV1> for Proxy<ZwpIdleInhibitManagerV1>[src]

impl<T: EventHandler> HandledBy<T> for ZwpIdleInhibitManagerV1[src]

impl Interface for ZwpIdleInhibitManagerV1[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<ZwpIdleInhibitManagerV1> for ZwpIdleInhibitManagerV1[src]

impl StructuralEq for ZwpIdleInhibitManagerV1[src]

impl StructuralPartialEq for ZwpIdleInhibitManagerV1[src]

Auto Trait Implementations

impl !RefUnwindSafe for ZwpIdleInhibitManagerV1

impl Send for ZwpIdleInhibitManagerV1

impl Sync for ZwpIdleInhibitManagerV1

impl Unpin for ZwpIdleInhibitManagerV1

impl !UnwindSafe for ZwpIdleInhibitManagerV1

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<M, I> HandledBy<Sink<M>> for I where
    I: Interface,
    M: From<(<I as Interface>::Event, I)>, 
[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.