Struct xpcom::interfaces::nsIPrefLocalizedString [] [src]

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

interface nsIPrefLocalizedString : nsISupportsString

/**
 * The nsIPrefLocalizedString interface is simply a wrapper interface for
 * nsISupportsString so the preferences service can have a unique identifier
 * to distinguish between requests for normal wide strings (nsISupportsString)
 * and "localized" wide strings, which get their default values from properites
 * files.
 *
 * @see nsIPrefBranch
 * @see nsISupportsString
 */

Methods

impl nsIPrefLocalizedString
[src]

[src]

Cast this nsIPrefLocalizedString to one of its base interfaces.

Methods from Deref<Target = nsISupportsString>

[src]

Cast this nsISupportsString to one of its base interfaces.

[src]

attribute AString data;

[src]

attribute AString data;

[src]

wstring toString ();

Trait Implementations

impl XpCom for nsIPrefLocalizedString
[src]

IID: nsIID = nsID(2923535908, 7633, 4530, [179, 154, 211, 229, 231, 7, 56, 2])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPrefLocalizedString
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.