pub type MozRefCountType = usize;Expand description
MozRefCountType is Mozilla’s reference count type.
We use the same type to represent the refcount of RefCounted objects as well, in order to be able to use the leak detection facilities that are implemented by XPCOM.
Note that this type is not in the mozilla namespace so that it is usable for both C and C++ code.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes