Struct xpcom::interfaces::nsIDOMCSSConditionRule
[−]
[src]
#[repr(C)]pub struct nsIDOMCSSConditionRule { /* fields omitted */ }
interface nsIDOMCSSConditionRule : nsIDOMCSSGroupingRule
/**
* Interface in the CSS OM for at-rules that conditionally apply their
* child rules.
*/
Methods
impl nsIDOMCSSConditionRule
[src]
pub fn coerce<T: nsIDOMCSSConditionRuleCoerce>(&self) -> &T
[src]
Cast this nsIDOMCSSConditionRule
to one of its base interfaces.
impl nsIDOMCSSConditionRule
[src]
pub unsafe fn GetConditionText(
&self,
aConditionText: &mut nsAString
) -> nsresult
[src]
&self,
aConditionText: &mut nsAString
) -> nsresult
attribute DOMString conditionText;
pub unsafe fn SetConditionText(&self, aConditionText: &nsAString) -> nsresult
[src]
attribute DOMString conditionText;
Methods from Deref<Target = nsIDOMCSSGroupingRule>
pub fn coerce<T: nsIDOMCSSGroupingRuleCoerce>(&self) -> &T
[src]
Cast this nsIDOMCSSGroupingRule
to one of its base interfaces.
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);
Trait Implementations
impl XpCom for nsIDOMCSSConditionRule
[src]
const IID: nsIID
IID: nsIID = nsID(1155154354, 22112, 16733, [134, 146, 234, 232, 5, 119, 97, 3])
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 nsIDOMCSSConditionRule
[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 nsIDOMCSSConditionRule
[src]
type Target = nsIDOMCSSGroupingRule
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMCSSGroupingRule
[src]
Dereferences the value.