pub struct CWlMessage(/* private fields */);Expand description
Wrapper around wl_message used in libwayland to define messages in interfaces
Implementations§
Source§impl CWlMessage
impl CWlMessage
Sourcepub const fn new(
name: &'static CStr,
signature: &'static CStr,
types: &'static [Option<&'static CWlInterface>],
) -> CWlMessage
pub const fn new( name: &'static CStr, signature: &'static CStr, types: &'static [Option<&'static CWlInterface>], ) -> CWlMessage
Construct a wl_message to store in a static
Trait Implementations§
impl Sync for CWlMessage
Auto Trait Implementations§
impl Freeze for CWlMessage
impl RefUnwindSafe for CWlMessage
impl !Send for CWlMessage
impl Unpin for CWlMessage
impl UnsafeUnpin for CWlMessage
impl UnwindSafe for CWlMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more