Struct wayland_protocols::unstable::idle_inhibit::v1::client::zwp_idle_inhibit_manager_v1::ZwpIdleInhibitManagerV1
source · pub struct ZwpIdleInhibitManagerV1(/* private fields */);
Implementations§
source§impl ZwpIdleInhibitManagerV1
impl ZwpIdleInhibitManagerV1
sourcepub fn destroy(&self)
pub 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.
sourcepub fn create_inhibitor(&self, surface: &WlSurface) -> Main<ZwpIdleInhibitorV1>
pub fn create_inhibitor(&self, surface: &WlSurface) -> Main<ZwpIdleInhibitorV1>
create a new inhibitor object
Create a new inhibitor object associated with the given surface.
Trait Implementations§
source§impl Clone for ZwpIdleInhibitManagerV1
impl Clone for ZwpIdleInhibitManagerV1
source§fn clone(&self) -> ZwpIdleInhibitManagerV1
fn clone(&self) -> ZwpIdleInhibitManagerV1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZwpIdleInhibitManagerV1
impl Debug for ZwpIdleInhibitManagerV1
source§impl From<ZwpIdleInhibitManagerV1> for Proxy<ZwpIdleInhibitManagerV1>
impl From<ZwpIdleInhibitManagerV1> for Proxy<ZwpIdleInhibitManagerV1>
source§fn from(value: ZwpIdleInhibitManagerV1) -> Self
fn from(value: ZwpIdleInhibitManagerV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZwpIdleInhibitManagerV1
impl Interface for ZwpIdleInhibitManagerV1
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq for ZwpIdleInhibitManagerV1
impl PartialEq for ZwpIdleInhibitManagerV1
source§fn eq(&self, other: &ZwpIdleInhibitManagerV1) -> bool
fn eq(&self, other: &ZwpIdleInhibitManagerV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZwpIdleInhibitManagerV1
impl StructuralEq for ZwpIdleInhibitManagerV1
impl StructuralPartialEq for ZwpIdleInhibitManagerV1
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more