[−][src]Struct smithay_client_toolkit::environment::SimpleGlobal
A minimalist global handler for "single" globals
This handler will simply register the global as soon as the registry signals it, and do nothing more.
It is appropriate for globals that never generate events, like wl_compositor
or wl_data_device_manager
.
Implementations
impl<I: Interface> SimpleGlobal<I>
[src]
pub fn new() -> SimpleGlobal<I>
[src]
Create a new handler
Trait Implementations
impl<I: Interface + Clone + From<Proxy<I>> + AsRef<Proxy<I>>> GlobalHandler<I> for SimpleGlobal<I>
[src]
Auto Trait Implementations
impl<I> RefUnwindSafe for SimpleGlobal<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I> !Send for SimpleGlobal<I>
impl<I> !Sync for SimpleGlobal<I>
impl<I> Unpin for SimpleGlobal<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for SimpleGlobal<I> where
I: UnwindSafe,
I: UnwindSafe,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,