Struct xpcom::interfaces::nsIGSettingsCollection
[−]
[src]
#[repr(C)]pub struct nsIGSettingsCollection { /* fields omitted */ }
interface nsIGSettingsCollection : nsISupports
Methods
impl nsIGSettingsCollection
[src]
pub fn coerce<T: nsIGSettingsCollectionCoerce>(&self) -> &T
[src]
Cast this nsIGSettingsCollection
to one of its base interfaces.
impl nsIGSettingsCollection
[src]
pub unsafe fn SetString(&self, key: &nsACString, value: &nsACString) -> nsresult
[src]
void setString (in AUTF8String key, in AUTF8String value);
pub unsafe fn SetBoolean(&self, key: &nsACString, value: bool) -> nsresult
[src]
void setBoolean (in AUTF8String key, in boolean value);
pub unsafe fn SetInt(&self, key: &nsACString, value: int32_t) -> nsresult
[src]
void setInt (in AUTF8String key, in long value);
pub unsafe fn GetString(
&self,
key: &nsACString,
_retval: &mut nsACString
) -> nsresult
[src]
&self,
key: &nsACString,
_retval: &mut nsACString
) -> nsresult
AUTF8String getString (in AUTF8String key);
pub unsafe fn GetBoolean(
&self,
key: &nsACString,
_retval: *mut bool
) -> nsresult
[src]
&self,
key: &nsACString,
_retval: *mut bool
) -> nsresult
boolean getBoolean (in AUTF8String key);
pub unsafe fn GetInt(&self, key: &nsACString, _retval: *mut int32_t) -> nsresult
[src]
long getInt (in AUTF8String key);
pub unsafe fn GetStringList(
&self,
key: &nsACString,
_retval: *mut *const nsIArray
) -> nsresult
[src]
&self,
key: &nsACString,
_retval: *mut *const nsIArray
) -> nsresult
nsIArray getStringList (in AUTF8String key);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIGSettingsCollection
[src]
const IID: nsIID
IID: nsIID = nsID(383103213, 59222, 20251, [168, 206, 145, 50, 232, 105, 172, 216])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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 nsIGSettingsCollection
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIGSettingsCollection
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.