Struct xpcom::interfaces::nsIStringBundle
[−]
[src]
#[repr(C)]pub struct nsIStringBundle { /* fields omitted */ }
interface nsIStringBundle : nsISupports
Methods
impl nsIStringBundle
[src]
pub fn coerce<T: nsIStringBundleCoerce>(&self) -> &T
[src]
Cast this nsIStringBundle
to one of its base interfaces.
impl nsIStringBundle
[src]
pub unsafe fn GetStringFromID(
&self,
aID: int32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aID: int32_t,
_retval: &mut nsAString
) -> nsresult
AString GetStringFromID (in long aID);
pub unsafe fn GetStringFromAUTF8Name(
&self,
aName: &nsACString,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aName: &nsACString,
_retval: &mut nsAString
) -> nsresult
[binaryname(GetStringFromAUTF8Name)] AString GetStringFromName (in AUTF8String aName);
pub unsafe fn GetStringFromName(
&self,
aName: *const c_char,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aName: *const c_char,
_retval: &mut nsAString
) -> nsresult
[binaryname(GetStringFromName),noscript] AString GetStringFromNameCpp (in string aName);
pub unsafe fn FormatStringFromID(
&self,
aID: int32_t,
params: *mut *const int16_t,
length: uint32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aID: int32_t,
params: *mut *const int16_t,
length: uint32_t,
_retval: &mut nsAString
) -> nsresult
AString formatStringFromID (in long aID, [array, size_is (length)] in wstring params, in unsigned long length);
pub unsafe fn FormatStringFromAUTF8Name(
&self,
aName: &nsACString,
params: *mut *const int16_t,
length: uint32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aName: &nsACString,
params: *mut *const int16_t,
length: uint32_t,
_retval: &mut nsAString
) -> nsresult
[binaryname(FormatStringFromAUTF8Name)] AString formatStringFromName (in AUTF8String aName, [array, size_is (length)] in wstring params, in unsigned long length);
pub unsafe fn FormatStringFromName(
&self,
aName: *const c_char,
params: *mut *const int16_t,
length: uint32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aName: *const c_char,
params: *mut *const int16_t,
length: uint32_t,
_retval: &mut nsAString
) -> nsresult
[binaryname(FormatStringFromName),noscript] AString formatStringFromNameCpp (in string aName, [array, size_is (length)] in wstring params, in unsigned long length);
pub unsafe fn GetSimpleEnumeration(
&self,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
[src]
&self,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
nsISimpleEnumerator getSimpleEnumeration ();
pub unsafe fn AsyncPreload(&self) -> nsresult
[src]
void asyncPreload ();
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 nsIStringBundle
[src]
const IID: nsIID
IID: nsIID = nsID(3629782978, 43644, 4562, [155, 140, 0, 128, 95, 138, 22, 217])
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 nsIStringBundle
[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 nsIStringBundle
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.