Enum wayland_client::protocol::wl_shell::Request
[−]
[src]
pub enum Request {
GetShellSurface {
id: Proxy<WlShellSurface>,
surface: Proxy<WlSurface>,
},
}Variants
GetShellSurfacecreate a shell surface from a surface
Create a shell surface for an existing surface. This gives the wl_surface the role of a shell surface. If the wl_surface already has another role, it raises a protocol error.
Only one shell surface can be associated with a given surface.
Fields of GetShellSurface
id: Proxy<WlShellSurface> | |
surface: Proxy<WlSurface> |
Trait Implementations
impl MessageGroup for Request[src]
fn is_destructor(&self) -> bool[src]
Whether this message is a destructor Read more
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
Construct a message of this group from its C representation
fn as_raw_c_in<F, T>(self, f: F) -> T where
F: FnOnce(u32, &mut [wl_argument]) -> T, [src]
F: FnOnce(u32, &mut [wl_argument]) -> T,
Build a C representation of this message Read more