Struct xpcom::interfaces::nsIMutable [] [src]

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

interface nsIMutable : nsISupports

/**
 * nsIMutable defines an interface to be implemented by objects which
 * can be made immutable.
 */

Methods

impl nsIMutable
[src]

[src]

Cast this nsIMutable to one of its base interfaces.

impl nsIMutable
[src]

[src]

/**
     * Control whether or not this object can be modified.  If the flag is
     * false, no modification is allowed.  Once the flag has been set to false,
     * it cannot be reset back to true -- attempts to do so throw
     * NS_ERROR_INVALID_ARG.
     */

attribute boolean mutable;

[src]

/**
     * Control whether or not this object can be modified.  If the flag is
     * false, no modification is allowed.  Once the flag has been set to false,
     * it cannot be reset back to true -- attempts to do so throw
     * NS_ERROR_INVALID_ARG.
     */

attribute boolean mutable;

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 nsIMutable
[src]

IID: nsIID = nsID(840267984, 961, 19861, [136, 33, 2, 26, 198, 18, 209, 141])

[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 nsIMutable
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIMutable
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.