Struct xpcom::interfaces::nsITreeColumn
[−]
[src]
#[repr(C)]pub struct nsITreeColumn { /* fields omitted */ }
interface nsITreeColumn : nsISupports
Methods
impl nsITreeColumn
[src]
pub fn coerce<T: nsITreeColumnCoerce>(&self) -> &T
[src]
Cast this nsITreeColumn
to one of its base interfaces.
impl nsITreeColumn
[src]
pub const TYPE_TEXT: i64
TYPE_TEXT: i64 = 1
pub const TYPE_CHECKBOX: i64
TYPE_CHECKBOX: i64 = 2
pub const TYPE_PROGRESSMETER: i64
TYPE_PROGRESSMETER: i64 = 3
pub const TYPE_PASSWORD: i64
TYPE_PASSWORD: i64 = 4
pub unsafe fn GetElement(&self, aElement: *mut *const nsIDOMElement) -> nsresult
[src]
readonly attribute nsIDOMElement element;
pub unsafe fn GetColumns(
&self,
aColumns: *mut *const nsITreeColumns
) -> nsresult
[src]
&self,
aColumns: *mut *const nsITreeColumns
) -> nsresult
readonly attribute nsITreeColumns columns;
pub unsafe fn GetX(&self, aX: *mut int32_t) -> nsresult
[src]
readonly attribute long x;
pub unsafe fn GetWidth(&self, aWidth: *mut int32_t) -> nsresult
[src]
readonly attribute long width;
pub unsafe fn GetId(&self, aId: &mut nsAString) -> nsresult
[src]
readonly attribute AString id;
pub unsafe fn GetIdConst(&self, idConst: *mut *const int16_t) -> nsresult
[src]
[noscript] void getIdConst ([shared] out wstring idConst);
pub unsafe fn GetIndex(&self, aIndex: *mut int32_t) -> nsresult
[src]
readonly attribute long index;
pub unsafe fn GetPrimary(&self, aPrimary: *mut bool) -> nsresult
[src]
readonly attribute boolean primary;
pub unsafe fn GetCycler(&self, aCycler: *mut bool) -> nsresult
[src]
readonly attribute boolean cycler;
pub unsafe fn GetEditable(&self, aEditable: *mut bool) -> nsresult
[src]
readonly attribute boolean editable;
pub unsafe fn GetSelectable(&self, aSelectable: *mut bool) -> nsresult
[src]
readonly attribute boolean selectable;
pub unsafe fn GetType(&self, aType: *mut int16_t) -> nsresult
[src]
readonly attribute short type;
pub unsafe fn GetNext(&self, _retval: *mut *const nsITreeColumn) -> nsresult
[src]
nsITreeColumn getNext ();
pub unsafe fn GetPrevious(&self, _retval: *mut *const nsITreeColumn) -> nsresult
[src]
nsITreeColumn getPrevious ();
pub unsafe fn Invalidate(&self) -> nsresult
[src]
void invalidate ();
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 nsITreeColumn
[src]
const IID: nsIID
IID: nsIID = nsID(2927845071, 27442, 18016, [155, 67, 138, 39, 13, 245, 110, 2])
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 nsITreeColumn
[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 nsITreeColumn
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.