Trait webkit2gtk_webextension::DOMCSSStyleDeclarationExt [−][src]
pub trait DOMCSSStyleDeclarationExt { fn get_css_text(&self) -> Option<String>; fn get_length(&self) -> c_ulong; fn get_parent_rule(&self) -> Option<DOMCSSRule>; fn get_property_priority(&self, propertyName: &str) -> Option<String>; fn get_property_shorthand(&self, propertyName: &str) -> Option<String>; fn get_property_value(&self, propertyName: &str) -> Option<String>; fn is_property_implicit(&self, propertyName: &str) -> bool; fn item(&self, index: c_ulong) -> Option<String>; fn remove_property(&self, propertyName: &str) -> Result<String, Error>; fn set_css_text(&self, value: &str) -> Result<(), Error>; fn set_property(
&self,
propertyName: &str,
value: &str,
priority: &str
) -> Result<(), Error>; fn connect_property_css_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_parent_rule_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required Methods
fn get_css_text(&self) -> Option<String>
fn get_length(&self) -> c_ulong
fn get_parent_rule(&self) -> Option<DOMCSSRule>
fn get_property_priority(&self, propertyName: &str) -> Option<String>
fn get_property_shorthand(&self, propertyName: &str) -> Option<String>
fn get_property_value(&self, propertyName: &str) -> Option<String>
fn is_property_implicit(&self, propertyName: &str) -> bool
fn item(&self, index: c_ulong) -> Option<String>
fn remove_property(&self, propertyName: &str) -> Result<String, Error>
fn set_css_text(&self, value: &str) -> Result<(), Error>
fn set_property(
&self,
propertyName: &str,
value: &str,
priority: &str
) -> Result<(), Error>
&self,
propertyName: &str,
value: &str,
priority: &str
) -> Result<(), Error>
fn connect_property_css_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_length_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_parent_rule_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<DOMCSSStyleDeclaration> + IsA<Object>> DOMCSSStyleDeclarationExt for O