pub fn create_pool(&self, fd: ::std::os::unix::io::RawFd, size: i32,) -> WlShmPool {
        let ptr = unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal_constructor, self.ptr(), WL_SHM_CREATE_POOL, &wl_shm_pool_interface as *const wl_interface
           , ptr::null_mut::<wl_proxy>(), fd, size) };
        let mut proxy: WlShmPool = unsafe { Proxy::from_ptr(ptr) };
        let evt_iter = eventiter_from_internals(self.evq.clone());
        proxy.set_evt_iterator(&evt_iter);
        ::std::mem::forget(evt_iter); // Don't run the destructor !
        proxy
    }
/// create a shm pool
///
/// Create a new wl_shm_pool object.
///
/// The pool can be used to create shared memory based buffer
/// objects.  The server will mmap size bytes of the passed file
/// descriptor, to use as backing memory for the pool.
create a shm pool
Create a new wl_shm_pool object.

The pool can be used to create shared memory based buffer
objects.  The server will mmap size bytes of the passed file
descriptor, to use as backing memory for the pool.
create a shm pool Create a new wl_shm_pool object . The pool can be used to create shared memory based buffer objects . The server will mmap size bytes of the passed file descriptor to use as backing memory for the pool .
pub fn create_pool(&self, fd: ::std::os::unix::io::RawFd, size: i32,) -> WlShmPool {
        let ptr = unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal_constructor, self.ptr(), WL_SHM_CREATE_POOL, &wl_shm_pool_interface as *const wl_interface
           , ptr::null_mut::<wl_proxy>(), fd, size) };
        let mut proxy: WlShmPool = unsafe { Proxy::from_ptr(ptr) };
        let evt_iter = eventiter_from_internals(self.evq.clone());
        proxy.set_evt_iterator(&evt_iter);
        ::std::mem::forget(evt_iter); // Don't run the destructor !
        proxy
    }
pub fn create_pool ( & self , fd : :: std :: os :: unix :: io :: RawFd , size : i32 , ) -> WlShmPool { let ptr = unsafe { ffi_dispatch ! ( WAYLAND_CLIENT_HANDLE wl_proxy_marshal_constructor self ptr ( ) WL_SHM_CREATE_POOL wl_shm_pool_interface as const wl_interface ptr null_mut wl_proxy ( ) fd size ) } ; let mut proxy : WlShmPool = unsafe { Proxy :: from_ptr ( ptr ) } ; let evt_iter = eventiter_from_internals ( self . evq . clone ( ) ) ; proxy . set_evt_iterator ( & evt_iter ) ; :: std :: mem :: forget ( evt_iter ) ; // Don't run the destructor ! proxy }
create a shm pool
Create a new wl_shm_pool object.
create a shm pool Create a new wl_shm_pool object .
&self
fd
::std::os::unix::io::RawFd
size
i32
&self
fd
::std::os::unix::io::RawFd
size
i32