You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from_ptr constructors have a debug assert that the pointer is non-null.
Generated ForeignType structs now use NonNull<T> rather than *mut T.
Generated ForeignType structs are now #[repr(transparent)].
The foreign_type! macro now uses a different syntax. It supports definition of multiple types per macro invocation, and automatically creates the reference type name. It also supports lifetime and type parameters on generated foreign types.