Struct xpcom::interfaces::nsIMemoryReporter [] [src]

#[repr(C)]
pub struct nsIMemoryReporter { /* fields omitted */ }

interface nsIMemoryReporter : nsISupports

Methods

impl nsIMemoryReporter
[src]

[src]

Cast this nsIMemoryReporter to one of its base interfaces.

impl nsIMemoryReporter
[src]

KIND_NONHEAP: i64 = 0

KIND_HEAP: i64 = 1

KIND_OTHER: i64 = 2

UNITS_BYTES: i64 = 0

UNITS_COUNT: i64 = 1

UNITS_COUNT_CUMULATIVE: i64 = 2

UNITS_PERCENTAGE: i64 = 3

[src]

void collectReports (in nsIHandleReportCallback callback, in nsISupports data, in boolean anonymize);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIMemoryReporter
[src]

IID: nsIID = nsID(2460183985, 18109, 20454, [152, 142, 71, 219, 71, 35, 109, 139])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIMemoryReporter
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIMemoryReporter
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.