rutabaga_gfx/rutabaga_os/
mod.rs1mod descriptor;
6mod memory_mapping;
7mod shm;
8pub mod sys;
9
10pub use descriptor::AsRawDescriptor;
11pub use descriptor::AsRawDescriptors;
12pub use descriptor::FromRawDescriptor;
13pub use descriptor::IntoRawDescriptor;
14pub use descriptor::SafeDescriptor;
15pub use memory_mapping::MemoryMapping;
16pub use shm::SharedMemory;
17pub use sys::platform::descriptor::RawDescriptor;
18pub use sys::platform::shm::round_up_to_page_size;
19
20pub unsafe trait MappedRegion: Send + Sync {
25 fn as_ptr(&self) -> *mut u8;
28
29 fn size(&self) -> usize;
31}