Struct xpcom::interfaces::nsIDomainSet
[−]
[src]
#[repr(C)]pub struct nsIDomainSet { /* fields omitted */ }
interface nsIDomainSet : nsISupports
Methods
impl nsIDomainSet
[src]
pub fn coerce<T: nsIDomainSetCoerce>(&self) -> &T
[src]
Cast this nsIDomainSet
to one of its base interfaces.
impl nsIDomainSet
[src]
pub unsafe fn GetType(&self, aType: *mut uint32_t) -> nsresult
[src]
[noscript] readonly attribute uint32_t type;
pub unsafe fn Add(&self, aDomain: *const nsIURI) -> nsresult
[src]
void add (in nsIURI aDomain);
pub unsafe fn Remove(&self, aDomain: *const nsIURI) -> nsresult
[src]
void remove (in nsIURI aDomain);
pub unsafe fn Clear(&self) -> nsresult
[src]
void clear ();
pub unsafe fn Contains(
&self,
aDomain: *const nsIURI,
_retval: *mut bool
) -> nsresult
[src]
&self,
aDomain: *const nsIURI,
_retval: *mut bool
) -> nsresult
bool contains (in nsIURI aDomain);
pub unsafe fn ContainsSuperDomain(
&self,
aDomain: *const nsIURI,
_retval: *mut bool
) -> nsresult
[src]
&self,
aDomain: *const nsIURI,
_retval: *mut bool
) -> nsresult
bool containsSuperDomain (in nsIURI aDomain);
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 nsIDomainSet
[src]
const IID: nsIID
IID: nsIID = nsID(1717344283, 2575, 16937, [172, 6, 168, 38, 224, 45, 79, 105])
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 nsIDomainSet
[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 nsIDomainSet
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.