pub trait DOMHTMLScriptElementExt: 'static {
Show 24 methods
fn charset(&self) -> Option<GString>;
fn is_defer(&self) -> bool;
fn event(&self) -> Option<GString>;
fn html_for(&self) -> Option<GString>;
fn src(&self) -> Option<GString>;
fn text(&self) -> Option<GString>;
fn type_attr(&self) -> Option<GString>;
fn set_charset(&self, value: &str);
fn set_defer(&self, value: bool);
fn set_event(&self, value: &str);
fn set_html_for(&self, value: &str);
fn set_src(&self, value: &str);
fn set_text(&self, value: &str);
fn set_type_attr(&self, value: &str);
fn set_property_charset(&self, charset: Option<&str>);
fn type_(&self) -> Option<GString>;
fn set_type(&self, type_: Option<&str>);
fn connect_charset_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_defer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_event_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_html_for_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_src_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Required Methods
sourcefn set_charset(&self, value: &str)
fn set_charset(&self, value: &str)
Available on crate feature
v2_16
only.