Trait wayland_client::MessageGroup [−][src]
A group of messages
This represents a group of message that can be serialized on the protocol wire. Typically the set of events or requests of a single interface.
Implementations of this trait are supposed to be
generated using the wayland-scanner
crate.
Associated Types
type Map
[src]
The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing.
Associated Constants
pub const MESSAGES: &'static [MessageDesc]
[src]
Wire representation of this MessageGroup
Required methods
pub fn opcode(&self) -> u16
[src]
The opcode of this message
pub fn is_destructor(&self) -> bool
[src]
Whether this message is a destructor
If it is, once send or receive the associated object cannot be used any more.
pub fn since(&self) -> u32
[src]
The minimal object version for which this message exists
pub fn child<Meta>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>> where
Meta: ObjectMetadata,
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>> where
Meta: ObjectMetadata,
Retrieve the child Object
associated with this message if any
pub fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
Construct a message from its raw representation
pub fn into_raw(self, send_id: u32) -> Message
[src]
Turn this message into its raw representation
pub unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Self, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Self, ()>
Construct a message of this group from its C representation
Safety
The pointers provided to this function must all be valid pointers from
libwayland-client
pub 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
It can only be accessed from the provided closure, and this consumes the message.
Implementors
impl MessageGroup for NoMessage
[src]
pub const MESSAGES: &'static [MessageDesc]
[src]
type Map = ()
pub fn is_destructor(&self) -> bool
[src]
pub fn opcode(&self) -> u16
[src]
pub fn since(&self) -> u32
[src]
pub fn child<M>(u16, u32, &M) -> Option<Object<M>> where
M: ObjectMetadata,
[src]
M: ObjectMetadata,
pub fn from_raw(Message, &mut ()) -> Result<NoMessage, ()>
[src]
pub fn into_raw(self, u32) -> Message
[src]
pub unsafe fn from_raw_c(
_obj: *mut c_void,
_opcode: u32,
_args: *const wl_argument
) -> Result<NoMessage, ()>
[src]
_obj: *mut c_void,
_opcode: u32,
_args: *const wl_argument
) -> Result<NoMessage, ()>
pub 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,
impl MessageGroup for wayland_client::protocol::wl_buffer::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_buffer::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_callback::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_callback::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_compositor::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_compositor::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_data_device::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_data_device::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_data_device_manager::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_data_device_manager::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_data_offer::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_data_offer::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_data_source::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_data_source::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_display::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_display::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_keyboard::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_keyboard::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_output::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_output::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_pointer::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_pointer::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_region::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_region::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_registry::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_registry::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_seat::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_seat::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_shell::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_shell::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_shell_surface::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_shell_surface::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_shm::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_shm::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_shm_pool::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_shm_pool::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_subcompositor::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_subcompositor::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_subsurface::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_subsurface::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_surface::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_surface::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_touch::Event
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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,
impl MessageGroup for wayland_client::protocol::wl_touch::Request
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn into_raw(self, sender_id: u32) -> Message
[src]
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, ()>
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,