[−][src]Macro rust_icu_common::simple_drop_impl
type_name
is the type to implement drop for.
impl_function_name
is the name of the function that implements
memory deallocation. It is assumed that the type has an internal
representation wrapped in a std::ptr::NonNull.
Example:
ⓘThis example is not tested
pub struct UNumberFormatter { rep: std::ptr::NonNull<Foo>, } //... simple_drop_impl!(UNumberFormatter, unumf_close);