Enum wayland_commons::NoMessage [−][src]
An empty enum representing a MessageGroup with no messages
Trait Implementations
impl MessageGroup for NoMessage
[src]
const MESSAGES: &'static [MessageDesc]
[src]
type Map = ()
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 opcode(&self) -> u16
[src]
fn since(&self) -> u32
[src]
fn child<M: ObjectMetadata>(_: u16, _: u32, _: &M) -> Option<Object<M>>
[src]
fn from_raw(_: Message, _: &mut ()) -> Result<Self, ()>
[src]
fn into_raw(self, _: u32) -> Message
[src]
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, ()>
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,
Auto Trait Implementations
impl RefUnwindSafe for NoMessage
impl Send for NoMessage
impl Sync for NoMessage
impl Unpin for NoMessage
impl UnwindSafe for NoMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,