Struct napi::bindgen_prelude::External [−][src]
pub struct External<T: 'static> {
pub adjusted_size: i64,
// some fields omitted
}
Fields
adjusted_size: i64
Implementations
size_hint
is a value to tell Node.js GC how much memory is used by this External
object.
If getting the exact size_hint
is difficult, you can provide an approximate value, it’s only effect to the GC.
If your External
object is not effect to GC, you can use External::new
instead.