Struct wayrs_core::Interface
source · pub struct Interface {
pub name: &'static CStr,
pub version: u32,
pub events: &'static [MessageDesc],
pub requests: &'static [MessageDesc],
}
Expand description
A Wayland interface, usually generated from the XML files
PartialEq
and Hash
implementations are delegated to the name
field for performance reasons.
Fields§
§name: &'static CStr
§version: u32
§events: &'static [MessageDesc]
§requests: &'static [MessageDesc]
Trait Implementations§
source§impl PartialEq for &'static Interface
impl PartialEq for &'static Interface
impl Eq for &'static Interface
Auto Trait Implementations§
impl Freeze for Interface
impl RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl UnwindSafe for Interface
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