Expand description
Miscellaneous minor utilities.
Macrosยง
- default_
union ๐ - Create a union value containing a default value in one of its arms.
 
Functionsยง
- as_
mut_ ๐ptr  - Convert a 
&mut Tinto a*mut Twithout using anas. - as_ptr ๐
 - Convert a 
&Tinto a*const Twithout using anas. - check_
raw_ ๐pointer  - Convert a 
*mut c_voidto a*mut T, checking that it is not null, misaligned, or pointing to a region of memory that wraps around the address space. - option_
as_ ๐mut_ ptr  - Convert an 
Option<&mut T>into a possibly-null*mut T. - option_
as_ ๐ptr  - Convert an 
Option<&T>into a possibly-null*const T.