Struct xpcom::interfaces::nsIPresentationDevice  
                   
                       [−]
                   
               [src]
#[repr(C)]pub struct nsIPresentationDevice { /* fields omitted */ }
interface nsIPresentationDevice : nsISupports
Methods
impl nsIPresentationDevice[src]
pub fn coerce<T: nsIPresentationDeviceCoerce>(&self) -> &T[src]
Cast this nsIPresentationDevice to one of its base interfaces.
impl nsIPresentationDevice[src]
pub unsafe fn GetId(&self, aId: &mut nsACString) -> nsresult[src]
readonly attribute AUTF8String id;
pub unsafe fn GetName(&self, aName: &mut nsACString) -> nsresult[src]
readonly attribute AUTF8String name;
pub unsafe fn GetType(&self, aType: &mut nsACString) -> nsresult[src]
readonly attribute AUTF8String type;
pub unsafe fn EstablishControlChannel(
    &self, 
    _retval: *mut *const nsIPresentationControlChannel
) -> nsresult[src]
&self,
_retval: *mut *const nsIPresentationControlChannel
) -> nsresult
nsIPresentationControlChannel establishControlChannel ();
pub unsafe fn Disconnect(&self) -> nsresult[src]
void disconnect ();
pub unsafe fn IsRequestedUrlSupported(
    &self, 
    requestedUrl: &nsAString, 
    _retval: *mut bool
) -> nsresult[src]
&self,
requestedUrl: &nsAString,
_retval: *mut bool
) -> nsresult
boolean isRequestedUrlSupported (in DOMString requestedUrl);
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 nsIPresentationDevice[src]
const IID: nsIID
IID: nsIID = nsID(2984290223, 22838, 16486, [143, 46, 247, 137, 251, 154, 126, 143])
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 nsIPresentationDevice[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 nsIPresentationDevice[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports[src]
Dereferences the value.