Struct xpcom::interfaces::nsIJSID
[−]
[src]
#[repr(C)]pub struct nsIJSID { /* fields omitted */ }
interface nsIJSID : nsISupports
Methods
impl nsIJSID
[src]
impl nsIJSID
[src]
pub unsafe fn GetName(&self, aName: *mut *const c_char) -> nsresult
[src]
readonly attribute string name;
pub unsafe fn GetNumber(&self, aNumber: *mut *const c_char) -> nsresult
[src]
readonly attribute string number;
pub unsafe fn GetValid(&self, aValid: *mut bool) -> nsresult
[src]
readonly attribute boolean valid;
pub unsafe fn Equals(
&self,
other: *const nsIJSID,
_retval: *mut bool
) -> nsresult
[src]
&self,
other: *const nsIJSID,
_retval: *mut bool
) -> nsresult
boolean equals (in nsIJSID other);
pub unsafe fn ToString(&self, _retval: *mut *const c_char) -> nsresult
[src]
string toString ();
pub unsafe fn Initialize(&self, idString: *const c_char) -> nsresult
[src]
[noscript] void initialize (in string idString);
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 nsIJSID
[src]
const IID: nsIID
IID: nsIID = nsID(1653095700, 16710, 16441, [148, 245, 165, 225, 225, 165, 26, 21])
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 nsIJSID
[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 nsIJSID
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.