Crate lol_macros

source ·
Expand description

lol-macros

Macros§

  • Generate a UUID at compile time.
  • Generate a UUID at compile time encoded with windows_sys::w! suitable for usage with Windows system calls
  • We want to make helpers for constructing base types in windows_sys crate so that they dont have to initialize internal fields etc
  • Generate an Enum like Tuple Struct
  • Similar to std::mem::zeroed, except we only support types that are “allowed” to be “zeroed”, and therefore we make it “safe”, as opposed to std::mem::zeroed (which is unsafe).

Derive Macros§