Struct xpcom::interfaces::nsICollation [] [src]

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

interface nsICollation : nsISupports

Methods

impl nsICollation
[src]

[src]

Cast this nsICollation to one of its base interfaces.

impl nsICollation
[src]

kCollationStrengthDefault: i64 = 0

kCollationCaseInsensitiveAscii: i64 = 1

kCollationAccentInsenstive: i64 = 2

kCollationCaseSensitive: i64 = 0

kCollationCaseInSensitive: i64 = 3

[src]

void initialize (in ACString locale);

[src]

long compareString (in long strength, in AString string1, in AString string2);

[src]

[noscript] void allocateRawSortKey (in long strength, in AString stringIn, [array, size_is (outLen)] out octet key, out unsigned long outLen);

[src]

[noscript] long compareRawSortKey ([array, size_is (len1), const] in octet key1, in unsigned long len1, [array, size_is (len2), const] in octet key2, in unsigned long len2);

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

IID: nsIID = nsID(2954046656, 14214, 17751, [152, 116, 145, 13, 125, 239, 95, 147])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsICollation
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.