Expand description
unmem crate contains some interesting functions. I tried to make them as safe as possible. However, remember that even not marked as unsafe they still can be dangerous. All of these functions may cause UB!
Macros
Takes variable of one type and returns it as another type. EXTREMELY UNSAFE. Undefined Behavior or panic guaranteed.
Structs
Mean safe wrapper around raw pointers.
Functions
Changes value of immutable variable.
Drops given variable.
Returns address from reference.
Gives you a mutable reference from immutable.
Analogue of memset.