Struct xpcom::interfaces::nsIPresentationDeviceRequest
[−]
[src]
#[repr(C)]pub struct nsIPresentationDeviceRequest { /* fields omitted */ }
interface nsIPresentationDeviceRequest : nsISupports
Methods
impl nsIPresentationDeviceRequest
[src]
pub fn coerce<T: nsIPresentationDeviceRequestCoerce>(&self) -> &T
[src]
Cast this nsIPresentationDeviceRequest
to one of its base interfaces.
impl nsIPresentationDeviceRequest
[src]
pub unsafe fn GetOrigin(&self, aOrigin: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString origin;
pub unsafe fn GetRequestURLs(
&self,
aRequestURLs: *mut *const nsIArray
) -> nsresult
[src]
&self,
aRequestURLs: *mut *const nsIArray
) -> nsresult
readonly attribute nsIArray requestURLs;
pub unsafe fn GetChromeEventHandler(
&self,
aChromeEventHandler: *mut *const nsIDOMEventTarget
) -> nsresult
[src]
&self,
aChromeEventHandler: *mut *const nsIDOMEventTarget
) -> nsresult
readonly attribute nsIDOMEventTarget chromeEventHandler;
pub unsafe fn GetPrincipal(
&self,
aPrincipal: *mut *const nsIPrincipal
) -> nsresult
[src]
&self,
aPrincipal: *mut *const nsIPrincipal
) -> nsresult
readonly attribute nsIPrincipal principal;
pub unsafe fn Select(&self, device: *const nsIPresentationDevice) -> nsresult
[src]
void select (in nsIPresentationDevice device);
pub unsafe fn Cancel(&self, reason: nsresult) -> nsresult
[src]
void cancel (in nsresult reason);
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 nsIPresentationDeviceRequest
[src]
const IID: nsIID
IID: nsIID = nsID(2997518186, 37960, 17514, [187, 164, 156, 41, 99, 139, 14, 212])
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 nsIPresentationDeviceRequest
[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 nsIPresentationDeviceRequest
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.