Struct xpcom::interfaces::nsIRemoteBrowser
[−]
[src]
#[repr(C)]pub struct nsIRemoteBrowser { /* fields omitted */ }
interface nsIRemoteBrowser : nsISupports
Methods
impl nsIRemoteBrowser
[src]
pub fn coerce<T: nsIRemoteBrowserCoerce>(&self) -> &T
[src]
Cast this nsIRemoteBrowser
to one of its base interfaces.
impl nsIRemoteBrowser
[src]
pub unsafe fn EnableDisableCommands(
&self,
action: &nsAString,
enabledLength: uint32_t,
enabledCommands: *mut *const c_char,
disabledLength: uint32_t,
disabledCommands: *mut *const c_char
) -> nsresult
[src]
&self,
action: &nsAString,
enabledLength: uint32_t,
enabledCommands: *mut *const c_char,
disabledLength: uint32_t,
disabledCommands: *mut *const c_char
) -> nsresult
void enableDisableCommands (in AString action, in unsigned long enabledLength, [array, size_is (enabledLength)] in string enabledCommands, in unsigned long disabledLength, [array, size_is (disabledLength)] in string disabledCommands);
pub unsafe fn GetContentPrincipal(
&self,
aContentPrincipal: *mut *const nsIPrincipal
) -> nsresult
[src]
&self,
aContentPrincipal: *mut *const nsIPrincipal
) -> nsresult
readonly attribute nsIPrincipal contentPrincipal;
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 nsIRemoteBrowser
[src]
const IID: nsIID
IID: nsIID = nsID(3359085414, 63391, 19749, [137, 166, 34, 190, 192, 169, 61, 22])
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 nsIRemoteBrowser
[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 nsIRemoteBrowser
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.