Struct xpcom::interfaces::nsIBoxObject
[−]
[src]
#[repr(C)]pub struct nsIBoxObject { /* fields omitted */ }
interface nsIBoxObject : nsISupports
Methods
impl nsIBoxObject
[src]
pub fn coerce<T: nsIBoxObjectCoerce>(&self) -> &T
[src]
Cast this nsIBoxObject
to one of its base interfaces.
impl nsIBoxObject
[src]
pub unsafe fn GetElement(&self, aElement: *mut *const nsIDOMElement) -> nsresult
[src]
readonly attribute nsIDOMElement element;
pub unsafe fn GetX(&self, aX: *mut int32_t) -> nsresult
[src]
readonly attribute long x;
pub unsafe fn GetY(&self, aY: *mut int32_t) -> nsresult
[src]
readonly attribute long y;
pub unsafe fn GetScreenX(&self, aScreenX: *mut int32_t) -> nsresult
[src]
readonly attribute long screenX;
pub unsafe fn GetScreenY(&self, aScreenY: *mut int32_t) -> nsresult
[src]
readonly attribute long screenY;
pub unsafe fn GetWidth(&self, aWidth: *mut int32_t) -> nsresult
[src]
readonly attribute long width;
pub unsafe fn GetHeight(&self, aHeight: *mut int32_t) -> nsresult
[src]
readonly attribute long height;
pub unsafe fn GetPropertyAsSupports(
&self,
propertyName: *const int16_t,
_retval: *mut *const nsISupports
) -> nsresult
[src]
&self,
propertyName: *const int16_t,
_retval: *mut *const nsISupports
) -> nsresult
nsISupports getPropertyAsSupports (in wstring propertyName);
pub unsafe fn SetPropertyAsSupports(
&self,
propertyName: *const int16_t,
value: *const nsISupports
) -> nsresult
[src]
&self,
propertyName: *const int16_t,
value: *const nsISupports
) -> nsresult
void setPropertyAsSupports (in wstring propertyName, in nsISupports value);
pub unsafe fn GetProperty(
&self,
propertyName: *const int16_t,
_retval: *mut *const int16_t
) -> nsresult
[src]
&self,
propertyName: *const int16_t,
_retval: *mut *const int16_t
) -> nsresult
wstring getProperty (in wstring propertyName);
pub unsafe fn SetProperty(
&self,
propertyName: *const int16_t,
propertyValue: *const int16_t
) -> nsresult
[src]
&self,
propertyName: *const int16_t,
propertyValue: *const int16_t
) -> nsresult
void setProperty (in wstring propertyName, in wstring propertyValue);
pub unsafe fn RemoveProperty(&self, propertyName: *const int16_t) -> nsresult
[src]
void removeProperty (in wstring propertyName);
pub unsafe fn GetParentBox(
&self,
aParentBox: *mut *const nsIDOMElement
) -> nsresult
[src]
&self,
aParentBox: *mut *const nsIDOMElement
) -> nsresult
readonly attribute nsIDOMElement parentBox;
pub unsafe fn GetFirstChild(
&self,
aFirstChild: *mut *const nsIDOMElement
) -> nsresult
[src]
&self,
aFirstChild: *mut *const nsIDOMElement
) -> nsresult
readonly attribute nsIDOMElement firstChild;
pub unsafe fn GetLastChild(
&self,
aLastChild: *mut *const nsIDOMElement
) -> nsresult
[src]
&self,
aLastChild: *mut *const nsIDOMElement
) -> nsresult
readonly attribute nsIDOMElement lastChild;
pub unsafe fn GetNextSibling(
&self,
aNextSibling: *mut *const nsIDOMElement
) -> nsresult
[src]
&self,
aNextSibling: *mut *const nsIDOMElement
) -> nsresult
readonly attribute nsIDOMElement nextSibling;
pub unsafe fn GetPreviousSibling(
&self,
aPreviousSibling: *mut *const nsIDOMElement
) -> nsresult
[src]
&self,
aPreviousSibling: *mut *const nsIDOMElement
) -> nsresult
readonly attribute nsIDOMElement previousSibling;
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 nsIBoxObject
[src]
const IID: nsIID
IID: nsIID = nsID(3461817440, 45298, 18000, [169, 231, 197, 58, 153, 211, 182, 173])
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 nsIBoxObject
[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 nsIBoxObject
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.