Struct xpcom::interfaces::ScriptableWithNotXPCOMBase
[−]
[src]
#[repr(C)]pub struct ScriptableWithNotXPCOMBase { /* fields omitted */ }
interface ScriptableWithNotXPCOMBase : ScriptableWithNotXPCOM
Methods
impl ScriptableWithNotXPCOMBase
[src]
pub fn coerce<T: ScriptableWithNotXPCOMBaseCoerce>(&self) -> &T
[src]
Cast this ScriptableWithNotXPCOMBase
to one of its base interfaces.
impl ScriptableWithNotXPCOMBase
[src]
Methods from Deref<Target = ScriptableWithNotXPCOM>
pub fn coerce<T: ScriptableWithNotXPCOMCoerce>(&self) -> &T
[src]
Cast this ScriptableWithNotXPCOM
to one of its base interfaces.
Trait Implementations
impl XpCom for ScriptableWithNotXPCOMBase
[src]
const IID: nsIID
IID: nsIID = nsID(1325853792, 15283, 18194, [171, 24, 178, 181, 149, 40, 85, 88])
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 ScriptableWithNotXPCOMBase
[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 ScriptableWithNotXPCOMBase
[src]
type Target = ScriptableWithNotXPCOM
The resulting type after dereferencing.
fn deref(&self) -> &ScriptableWithNotXPCOM
[src]
Dereferences the value.