Struct xpcom::interfaces::nsIDomainPolicy
[−]
[src]
#[repr(C)]pub struct nsIDomainPolicy { /* fields omitted */ }
interface nsIDomainPolicy : nsISupports
Methods
impl nsIDomainPolicy
[src]
pub fn coerce<T: nsIDomainPolicyCoerce>(&self) -> &T
[src]
Cast this nsIDomainPolicy
to one of its base interfaces.
impl nsIDomainPolicy
[src]
pub unsafe fn GetBlacklist(
&self,
aBlacklist: *mut *const nsIDomainSet
) -> nsresult
[src]
&self,
aBlacklist: *mut *const nsIDomainSet
) -> nsresult
readonly attribute nsIDomainSet blacklist;
pub unsafe fn GetSuperBlacklist(
&self,
aSuperBlacklist: *mut *const nsIDomainSet
) -> nsresult
[src]
&self,
aSuperBlacklist: *mut *const nsIDomainSet
) -> nsresult
readonly attribute nsIDomainSet superBlacklist;
pub unsafe fn GetWhitelist(
&self,
aWhitelist: *mut *const nsIDomainSet
) -> nsresult
[src]
&self,
aWhitelist: *mut *const nsIDomainSet
) -> nsresult
readonly attribute nsIDomainSet whitelist;
pub unsafe fn GetSuperWhitelist(
&self,
aSuperWhitelist: *mut *const nsIDomainSet
) -> nsresult
[src]
&self,
aSuperWhitelist: *mut *const nsIDomainSet
) -> nsresult
readonly attribute nsIDomainSet superWhitelist;
pub unsafe fn Deactivate(&self) -> nsresult
[src]
void deactivate ();
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 nsIDomainPolicy
[src]
const IID: nsIID
IID: nsIID = nsID(2192722464, 26369, 19776, [160, 249, 245, 220, 115, 33, 181, 85])
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 nsIDomainPolicy
[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 nsIDomainPolicy
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.