Struct xpcom::interfaces::nsIDOMCSSGroupingRule
[−]
[src]
#[repr(C)]pub struct nsIDOMCSSGroupingRule { /* fields omitted */ }
interface nsIDOMCSSGroupingRule : nsISupports
/**
* Interface for at-rules that have child rules in the CSS OM.
*/
Methods
impl nsIDOMCSSGroupingRule
[src]
pub fn coerce<T: nsIDOMCSSGroupingRuleCoerce>(&self) -> &T
[src]
Cast this nsIDOMCSSGroupingRule
to one of its base interfaces.
impl nsIDOMCSSGroupingRule
[src]
pub unsafe fn GetCssRules(
&self,
aCssRules: *mut *const nsIDOMCSSRuleList
) -> nsresult
[src]
&self,
aCssRules: *mut *const nsIDOMCSSRuleList
) -> nsresult
readonly attribute nsIDOMCSSRuleList cssRules;
pub unsafe fn InsertRule(
&self,
rule: &nsAString,
index: uint32_t,
_retval: *mut uint32_t
) -> nsresult
[src]
&self,
rule: &nsAString,
index: uint32_t,
_retval: *mut uint32_t
) -> nsresult
unsigned long insertRule (in DOMString rule, in unsigned long index) raises (DOMException);
pub unsafe fn DeleteRule(&self, index: uint32_t) -> nsresult
[src]
void deleteRule (in unsigned long index) raises (DOMException);
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 nsIDOMCSSGroupingRule
[src]
const IID: nsIID
IID: nsIID = nsID(2699244106, 63761, 19375, [149, 145, 83, 34, 199, 108, 187, 13])
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 nsIDOMCSSGroupingRule
[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 nsIDOMCSSGroupingRule
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.