Struct xpcom::interfaces::nsISupportsCString
[−]
[src]
#[repr(C)]pub struct nsISupportsCString { /* fields omitted */ }
interface nsISupportsCString : nsISupportsPrimitive
/**
* Scriptable storage for ASCII strings
*/
Methods
impl nsISupportsCString
[src]
pub fn coerce<T: nsISupportsCStringCoerce>(&self) -> &T
[src]
Cast this nsISupportsCString
to one of its base interfaces.
impl nsISupportsCString
[src]
pub unsafe fn GetData(&self, aData: &mut nsACString) -> nsresult
[src]
attribute ACString data;
pub unsafe fn SetData(&self, aData: &nsACString) -> nsresult
[src]
attribute ACString data;
pub unsafe fn ToString(&self, _retval: *mut *const c_char) -> nsresult
[src]
string toString ();
Methods from Deref<Target = nsISupportsPrimitive>
pub fn coerce<T: nsISupportsPrimitiveCoerce>(&self) -> &T
[src]
Cast this nsISupportsPrimitive
to one of its base interfaces.
pub const TYPE_ID: i64
pub const TYPE_CSTRING: i64
pub const TYPE_STRING: i64
pub const TYPE_PRBOOL: i64
pub const TYPE_PRUINT8: i64
pub const TYPE_PRUINT16: i64
pub const TYPE_PRUINT32: i64
pub const TYPE_PRUINT64: i64
pub const TYPE_PRTIME: i64
pub const TYPE_CHAR: i64
pub const TYPE_PRINT16: i64
pub const TYPE_PRINT32: i64
pub const TYPE_PRINT64: i64
pub const TYPE_FLOAT: i64
pub const TYPE_DOUBLE: i64
pub const TYPE_INTERFACE_POINTER: i64
pub unsafe fn GetType(&self, aType: *mut uint16_t) -> nsresult
[src]
readonly attribute unsigned short type;
Trait Implementations
impl XpCom for nsISupportsCString
[src]
const IID: nsIID
IID: nsIID = nsID(3596612208, 18972, 4563, [152, 144, 0, 96, 8, 150, 36, 34])
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 nsISupportsCString
[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 nsISupportsCString
[src]
type Target = nsISupportsPrimitive
The resulting type after dereferencing.
fn deref(&self) -> &nsISupportsPrimitive
[src]
Dereferences the value.