Struct xpcom::interfaces::nsIDOMCSSSupportsRule
[−]
[src]
#[repr(C)]pub struct nsIDOMCSSSupportsRule { /* fields omitted */ }
interface nsIDOMCSSSupportsRule : nsIDOMCSSConditionRule
/**
* Interface for @supports rules in the CSS OM.
*/
Methods
impl nsIDOMCSSSupportsRule
[src]
pub fn coerce<T: nsIDOMCSSSupportsRuleCoerce>(&self) -> &T
[src]
Cast this nsIDOMCSSSupportsRule
to one of its base interfaces.
Methods from Deref<Target = nsIDOMCSSConditionRule>
pub fn coerce<T: nsIDOMCSSConditionRuleCoerce>(&self) -> &T
[src]
Cast this nsIDOMCSSConditionRule
to one of its base interfaces.
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;
Trait Implementations
impl XpCom for nsIDOMCSSSupportsRule
[src]
const IID: nsIID
IID: nsIID = nsID(194929569, 7127, 19631, [133, 14, 20, 139, 118, 43, 20, 210])
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 nsIDOMCSSSupportsRule
[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 nsIDOMCSSSupportsRule
[src]
type Target = nsIDOMCSSConditionRule
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMCSSConditionRule
[src]
Dereferences the value.