Enum wayland_client::protocol::wl_compositor::Request [−][src]
pub enum Request { CreateSurface { id: Proxy<WlSurface>, }, CreateRegion { id: Proxy<WlRegion>, }, }
Variants
CreateSurface
create new surface
Ask the compositor to create a new surface.
Fields of CreateSurface
id: Proxy<WlSurface> |
CreateRegion
create new region
Ask the compositor to create a new region.
Fields of CreateRegion
id: Proxy<WlRegion> |
Trait Implementations
impl MessageGroup for Request
[src]
impl MessageGroup for Request
const MESSAGES: &'static [MessageDesc]
MESSAGES: &'static [MessageDesc] = &[super::MessageDesc{name: "create_surface", since: 1, signature: &[super::ArgumentType::NewId],}, super::MessageDesc{name: "create_region", since: 1, signature: &[super::ArgumentType::NewId],}]
Wire representation of this MessageGroup
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn is_destructor(&self) -> bool
Whether this message is a destructor Read more
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
Retrieve the child Object
associated with this message if any
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
Construct a message from its raw representation
fn into_raw(self, sender_id: u32) -> Message
[src]
fn into_raw(self, sender_id: u32) -> Message
Turn this message into its raw representation