Struct xpcom::interfaces::nsIDOMCSSMozDocumentRule
[−]
[src]
#[repr(C)]pub struct nsIDOMCSSMozDocumentRule { /* fields omitted */ }
interface nsIDOMCSSMozDocumentRule : nsIDOMCSSConditionRule
/**
* Interface for @-moz-document rules in the CSS OM.
*/
Methods
impl nsIDOMCSSMozDocumentRule
[src]
pub fn coerce<T: nsIDOMCSSMozDocumentRuleCoerce>(&self) -> &T
[src]
Cast this nsIDOMCSSMozDocumentRule
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 nsIDOMCSSMozDocumentRule
[src]
const IID: nsIID
IID: nsIID = nsID(755822493, 49586, 19564, [144, 3, 250, 131, 4, 6, 38, 209])
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 nsIDOMCSSMozDocumentRule
[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 nsIDOMCSSMozDocumentRule
[src]
type Target = nsIDOMCSSConditionRule
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMCSSConditionRule
[src]
Dereferences the value.