use crate::{_reexport, _tags};
_reexport! { rust: core::mem,
location: "sys/mem" => struct ManuallyDrop, tag: _tags!(mem),
doc: "A wrapper to inhibit compiler from automatically calling `T`'s destructor.",
ManuallyDrop
}
_reexport! { rust: core::mem,
location: "sys/mem" => struct Discriminant, tag: _tags!(mem),
doc: "Opaque type representing the discriminant of an enum.",
Discriminant
}
_reexport! { rust: core::mem,
location: "sys/mem" => union MaybeUninit, tag: _tags!(maybe mem),
doc: "A wrapper type to construct uninitialized instances of `T`.",
MaybeUninit
}
_reexport! { rust: core::mem,
location: "sys/mem" => macro offset_of, tag: _tags!(mem),
doc: "Expands to the offset in bytes of a field from the beginning of the given type.",
offset_of
}
_reexport! { rust: core::mem,
location: "sys/mem" => fn transmute, tag: _tags!(mem),
doc: "Reinterprets the bits of a value of one type as another type.",
transmute
}