Struct xpcom::interfaces::nsILoadGroupChild
[−]
[src]
#[repr(C)]pub struct nsILoadGroupChild { /* fields omitted */ }
interface nsILoadGroupChild : nsISupports
/**
* nsILoadGroupChild provides a hierarchy of load groups so that the
* root load group can be used to conceptually tie a series of loading
* operations into a logical whole while still leaving them separate
* for the purposes of cancellation and status events.
*/
Methods
impl nsILoadGroupChild
[src]
pub fn coerce<T: nsILoadGroupChildCoerce>(&self) -> &T
[src]
Cast this nsILoadGroupChild
to one of its base interfaces.
impl nsILoadGroupChild
[src]
pub unsafe fn GetParentLoadGroup(
&self,
aParentLoadGroup: *mut *const nsILoadGroup
) -> nsresult
[src]
&self,
aParentLoadGroup: *mut *const nsILoadGroup
) -> nsresult
/**
* The parent of this load group. It is stored with
* a nsIWeakReference/nsWeakPtr so there is no requirement for the
* parentLoadGroup to out live the child, nor will the child keep a
* reference count on the parent.
*/
attribute nsILoadGroup parentLoadGroup;
pub unsafe fn SetParentLoadGroup(
&self,
aParentLoadGroup: *const nsILoadGroup
) -> nsresult
[src]
&self,
aParentLoadGroup: *const nsILoadGroup
) -> nsresult
/**
* The parent of this load group. It is stored with
* a nsIWeakReference/nsWeakPtr so there is no requirement for the
* parentLoadGroup to out live the child, nor will the child keep a
* reference count on the parent.
*/
attribute nsILoadGroup parentLoadGroup;
pub unsafe fn GetChildLoadGroup(
&self,
aChildLoadGroup: *mut *const nsILoadGroup
) -> nsresult
[src]
&self,
aChildLoadGroup: *mut *const nsILoadGroup
) -> nsresult
/**
* The nsILoadGroup associated with this nsILoadGroupChild
*/
readonly attribute nsILoadGroup childLoadGroup;
pub unsafe fn GetRootLoadGroup(
&self,
aRootLoadGroup: *mut *const nsILoadGroup
) -> nsresult
[src]
&self,
aRootLoadGroup: *mut *const nsILoadGroup
) -> nsresult
/**
* The rootLoadGroup is the recursive parent of this
* load group where parent is defined as parentlLoadGroup if set
* or childLoadGroup.loadGroup as a backup. (i.e. parentLoadGroup takes
* precedence.) The nsILoadGroup child is the root if neither parent
* nor loadgroup attribute is specified.
*/
readonly attribute nsILoadGroup rootLoadGroup;
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 nsILoadGroupChild
[src]
const IID: nsIID
IID: nsIID = nsID(49277154, 64444, 18200, [162, 153, 184, 160, 156, 96, 191, 107])
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 nsILoadGroupChild
[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 nsILoadGroupChild
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.