pub struct CWlInterface(/* private fields */);Expand description
Wrapper around wl_interface used in libwayland to define interfaces
Implementations§
Source§impl CWlInterface
impl CWlInterface
Sourcepub const fn new(
name: &'static CStr,
version: u32,
requests: &'static [CWlMessage],
events: &'static [CWlMessage],
) -> CWlInterface
pub const fn new( name: &'static CStr, version: u32, requests: &'static [CWlMessage], events: &'static [CWlMessage], ) -> CWlInterface
Construct a wl_interface to store in a static
Trait Implementations§
Source§impl Debug for CWlInterface
impl Debug for CWlInterface
impl Sync for CWlInterface
Auto Trait Implementations§
impl Freeze for CWlInterface
impl RefUnwindSafe for CWlInterface
impl Send for CWlInterface
impl Unpin for CWlInterface
impl UnsafeUnpin for CWlInterface
impl UnwindSafe for CWlInterface
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