Files
wayland_server/src/lib.rs
T

21 lines
349 B
Rust

// SPDX: GPL-2.0-only
pub(crate) mod ffi;
// public api
pub mod array;
pub mod client;
pub mod display;
pub mod global;
pub mod interface;
pub mod list;
pub mod resource;
pub(crate) trait Wrapper {
type T;
fn get_raw(&self) -> std::ptr::NonNull<Self::T>;
fn as_raw_ptr(&self) -> *mut Self::T {
self.get_raw().as_ptr()
}
}