Struct xpcom::interfaces::nsIMessageManagerGlobal
[−]
[src]
#[repr(C)]pub struct nsIMessageManagerGlobal { /* fields omitted */ }
interface nsIMessageManagerGlobal : nsISyncMessageSender
Methods
impl nsIMessageManagerGlobal
[src]
pub fn coerce<T: nsIMessageManagerGlobalCoerce>(&self) -> &T
[src]
Cast this nsIMessageManagerGlobal
to one of its base interfaces.
impl nsIMessageManagerGlobal
[src]
pub unsafe fn Dump(&self, aStr: &nsAString) -> nsresult
[src]
/**
* Print a string to stdout.
*/
void dump (in DOMString aStr);
pub unsafe fn PrivateNoteIntentionalCrash(&self) -> nsresult
[src]
/**
* If leak detection is enabled, print a note to the leak log that this
* process will intentionally crash.
*/
void privateNoteIntentionalCrash ();
pub unsafe fn Atob(
&self,
aAsciiString: &nsAString,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aAsciiString: &nsAString,
_retval: &mut nsAString
) -> nsresult
/**
* Ascii base64 data to binary data and vice versa
*/
DOMString atob (in DOMString aAsciiString);
pub unsafe fn Btoa(
&self,
aBase64Data: &nsAString,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aBase64Data: &nsAString,
_retval: &mut nsAString
) -> nsresult
DOMString btoa (in DOMString aBase64Data);
Methods from Deref<Target = nsISyncMessageSender>
pub fn coerce<T: nsISyncMessageSenderCoerce>(&self) -> &T
[src]
Cast this nsISyncMessageSender
to one of its base interfaces.
Trait Implementations
impl XpCom for nsIMessageManagerGlobal
[src]
const IID: nsIID
IID: nsIID = nsID(334714207, 30366, 17642, [182, 7, 82, 57, 35, 12, 49, 98])
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 nsIMessageManagerGlobal
[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 nsIMessageManagerGlobal
[src]
type Target = nsISyncMessageSender
The resulting type after dereferencing.
fn deref(&self) -> &nsISyncMessageSender
[src]
Dereferences the value.