[−][src]Struct smithay_client_toolkit::shm::ShmHandler
A handler for the wl_shm
global
This handler is automatically included in the
default_environment!
.
Implementations
impl ShmHandler
[src]
pub fn new() -> ShmHandler
[src]
Create a new ShmHandler
Trait Implementations
impl GlobalHandler<WlShm> for ShmHandler
[src]
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
_version: u32,
_: DispatchData<'_>
)
[src]
&mut self,
registry: Attached<WlRegistry>,
id: u32,
_version: u32,
_: DispatchData<'_>
)
fn get(&self) -> Option<Attached<WlShm>>
[src]
impl ShmHandling for ShmHandler
[src]
fn shm_formats(&self) -> Vec<Format>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ShmHandler
impl !Send for ShmHandler
impl !Sync for ShmHandler
impl Unpin for ShmHandler
impl !UnwindSafe for ShmHandler
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>,