Struct xpcom::interfaces::nsIINIParser
[−]
[src]
#[repr(C)]pub struct nsIINIParser { /* fields omitted */ }
interface nsIINIParser : nsISupports
Methods
impl nsIINIParser
[src]
pub fn coerce<T: nsIINIParserCoerce>(&self) -> &T
[src]
Cast this nsIINIParser
to one of its base interfaces.
impl nsIINIParser
[src]
pub unsafe fn GetSections(
&self,
_retval: *mut *const nsIUTF8StringEnumerator
) -> nsresult
[src]
&self,
_retval: *mut *const nsIUTF8StringEnumerator
) -> nsresult
/**
* Enumerates the [section]s available in the INI file.
*/
nsIUTF8StringEnumerator getSections ();
pub unsafe fn GetKeys(
&self,
aSection: &nsACString,
_retval: *mut *const nsIUTF8StringEnumerator
) -> nsresult
[src]
&self,
aSection: &nsACString,
_retval: *mut *const nsIUTF8StringEnumerator
) -> nsresult
/**
* Enumerates the keys available within a section.
*/
nsIUTF8StringEnumerator getKeys (in AUTF8String aSection);
pub unsafe fn GetString(
&self,
aSection: &nsACString,
aKey: &nsACString,
_retval: &mut nsACString
) -> nsresult
[src]
&self,
aSection: &nsACString,
aKey: &nsACString,
_retval: &mut nsACString
) -> nsresult
/**
* Get the value of a string for a particular section and key.
*/
AUTF8String getString (in AUTF8String aSection, in AUTF8String aKey);
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 nsIINIParser
[src]
const IID: nsIID
IID: nsIID = nsID(2126075382, 15992, 19769, [183, 47, 193, 191, 18, 169, 75, 206])
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 nsIINIParser
[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 nsIINIParser
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.