Enum wayland_server::protocol::wl_surface::Event [−][src]
Variants
Entersurface enters an output
This is emitted whenever a surface's creation, movement, or resizing results in some part of it being within the scanout region of an output.
Note that a surface may be overlapping with zero or more outputs.
Fields of Enter
output: Resource<WlOutput> |
Leavesurface leaves an output
This is emitted whenever a surface's creation, movement, or resizing results in it no longer having any part of it within the scanout region of an output.
Fields of Leave
output: Resource<WlOutput> |
Trait Implementations
impl MessageGroup for Event[src]
impl MessageGroup for Eventconst MESSAGES: &'static [MessageDesc]
MESSAGES: &'static [MessageDesc] = &[super::MessageDesc{name: "enter", since: 1, signature: &[super::ArgumentType::Object],}, super::MessageDesc{name: "leave", since: 1, signature: &[super::ArgumentType::Object],}]
Wire representation of this MessageGroup
type Map = ResourceMap
The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more
fn is_destructor(&self) -> bool[src]
fn is_destructor(&self) -> boolWhether this message is a destructor Read more
fn opcode(&self) -> u16[src]
fn opcode(&self) -> u16The opcode of this message
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) -> MessageTurn this message into its raw representation