1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#![warn(missing_docs)] #![allow(unused_imports)] //! Lokathor makes stuff. //! //! Currently we're working on some [Handmade Hero](https://handmadehero.org/) //! inspired stuff using //! [winapi](https://docs.rs/winapi/*/x86_64-pc-windows-msvc/winapi/). // Note(Lokathor): We don't make this pub, the `#[macro_export]` on each macro // in here automatically makes them appear at the top level of the crate. mod macros; #[cfg(windows)] pub mod win32; /// Trait for any type that's safe to use with the [zeroed](core::mem::zeroed) /// function. pub unsafe trait ZeroSafe: Sized { /// Makes a new zeroed value. fn zeroed() -> Self { unsafe { core::mem::zeroed() } } }