[−][src]Struct wayland_protocols::unstable::keyboard_shortcuts_inhibit::v1::server::zwp_keyboard_shortcuts_inhibitor_v1::ZwpKeyboardShortcutsInhibitorV1
Implementations
impl ZwpKeyboardShortcutsInhibitorV1
[src]
pub fn active(&self)
[src]
shortcuts are inhibited
This event indicates that the shortcut inhibitor is active.
The compositor sends this event every time compositor shortcuts are inhibited on behalf of the surface. When active, the client may receive input events normally reserved by the compositor (see zwp_keyboard_shortcuts_inhibitor_v1).
This occurs typically when the initial request "inhibit_shortcuts" first becomes active or when the user instructs the compositor to re-enable and existing shortcuts inhibitor using any mechanism offered by the compositor.
pub fn inactive(&self)
[src]
shortcuts are restored
This event indicates that the shortcuts inhibitor is inactive, normal shortcuts processing is restored by the compositor.
Trait Implementations
impl AsRef<Resource<ZwpKeyboardShortcutsInhibitorV1>> for ZwpKeyboardShortcutsInhibitorV1
[src]
impl Clone for ZwpKeyboardShortcutsInhibitorV1
[src]
fn clone(&self) -> ZwpKeyboardShortcutsInhibitorV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZwpKeyboardShortcutsInhibitorV1
[src]
impl Eq for ZwpKeyboardShortcutsInhibitorV1
[src]
impl From<Resource<ZwpKeyboardShortcutsInhibitorV1>> for ZwpKeyboardShortcutsInhibitorV1
[src]
impl From<ZwpKeyboardShortcutsInhibitorV1> for Resource<ZwpKeyboardShortcutsInhibitorV1>
[src]
fn from(value: ZwpKeyboardShortcutsInhibitorV1) -> Self
[src]
impl Interface for ZwpKeyboardShortcutsInhibitorV1
[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
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwpKeyboardShortcutsInhibitorV1> for ZwpKeyboardShortcutsInhibitorV1
[src]
fn eq(&self, other: &ZwpKeyboardShortcutsInhibitorV1) -> bool
[src]
fn ne(&self, other: &ZwpKeyboardShortcutsInhibitorV1) -> bool
[src]
impl StructuralEq for ZwpKeyboardShortcutsInhibitorV1
[src]
impl StructuralPartialEq for ZwpKeyboardShortcutsInhibitorV1
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwpKeyboardShortcutsInhibitorV1
impl Send for ZwpKeyboardShortcutsInhibitorV1
impl Sync for ZwpKeyboardShortcutsInhibitorV1
impl Unpin for ZwpKeyboardShortcutsInhibitorV1
impl !UnwindSafe for ZwpKeyboardShortcutsInhibitorV1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,