Struct xpcom::interfaces::nsIOpenURIInFrameParams
[−]
[src]
#[repr(C)]pub struct nsIOpenURIInFrameParams { /* fields omitted */ }
interface nsIOpenURIInFrameParams : nsISupports
Methods
impl nsIOpenURIInFrameParams
[src]
pub fn coerce<T: nsIOpenURIInFrameParamsCoerce>(&self) -> &T
[src]
Cast this nsIOpenURIInFrameParams
to one of its base interfaces.
impl nsIOpenURIInFrameParams
[src]
pub unsafe fn GetReferrer(&self, aReferrer: &mut nsAString) -> nsresult
[src]
attribute DOMString referrer;
pub unsafe fn SetReferrer(&self, aReferrer: &nsAString) -> nsresult
[src]
attribute DOMString referrer;
pub unsafe fn GetReferrerPolicy(
&self,
aReferrerPolicy: *mut uint32_t
) -> nsresult
[src]
&self,
aReferrerPolicy: *mut uint32_t
) -> nsresult
attribute unsigned long referrerPolicy;
pub unsafe fn SetReferrerPolicy(&self, aReferrerPolicy: uint32_t) -> nsresult
[src]
attribute unsigned long referrerPolicy;
pub unsafe fn GetIsPrivate(&self, aIsPrivate: *mut bool) -> nsresult
[src]
readonly attribute boolean isPrivate;
pub unsafe fn GetTriggeringPrincipal(
&self,
aTriggeringPrincipal: *mut *const nsIPrincipal
) -> nsresult
[src]
&self,
aTriggeringPrincipal: *mut *const nsIPrincipal
) -> nsresult
attribute nsIPrincipal triggeringPrincipal;
pub unsafe fn SetTriggeringPrincipal(
&self,
aTriggeringPrincipal: *const nsIPrincipal
) -> nsresult
[src]
&self,
aTriggeringPrincipal: *const nsIPrincipal
) -> nsresult
attribute nsIPrincipal triggeringPrincipal;
pub unsafe fn GetOpenerBrowser(
&self,
aOpenerBrowser: *mut *const nsIFrameLoaderOwner
) -> nsresult
[src]
&self,
aOpenerBrowser: *mut *const nsIFrameLoaderOwner
) -> nsresult
readonly attribute nsIFrameLoaderOwner openerBrowser;
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 nsIOpenURIInFrameParams
[src]
const IID: nsIID
IID: nsIID = nsID(3883195156, 31148, 16726, [167, 163, 170, 63, 208, 162, 44, 16])
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 nsIOpenURIInFrameParams
[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 nsIOpenURIInFrameParams
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.