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.
Trait Implementations§
source§impl From<ProtoOrIfaceIndex> for usize
impl From<ProtoOrIfaceIndex> for usize
source§fn from(index: ProtoOrIfaceIndex) -> usize
fn from(index: ProtoOrIfaceIndex) -> usize
Converts to this type from the input type.
1.0.0 · source§impl Ord for usize
impl Ord for usize
source§impl PartialEq<Value> for usize
impl PartialEq<Value> for usize
1.0.0 · source§impl PartialOrd<usize> for usize
impl PartialOrd<usize> for usize
source§fn le(&self, other: &usize) -> bool
fn le(&self, other: &usize) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more