Struct xpcom::interfaces::nsIJSCID
[−]
[src]
#[repr(C)]pub struct nsIJSCID { /* fields omitted */ }
interface nsIJSCID : nsIJSID
Methods
impl nsIJSCID
[src]
pub fn coerce<T: nsIJSCIDCoerce>(&self) -> &T
[src]
Cast this nsIJSCID
to one of its base interfaces.
Methods from Deref<Target = nsIJSID>
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);
Trait Implementations
impl XpCom for nsIJSCID
[src]
const IID: nsIID
IID: nsIID = nsID(3210653830, 40618, 18068, [174, 195, 254, 74, 172, 97, 25, 189])
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 nsIJSCID
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.