Trait HyperlinkElementTraits
Source pub(crate) trait HyperlinkElementTraits {
Show 24 methods
// Required methods
fn get_hash(&self, no_gc: &NoGC) -> USVString;
fn set_hash(&self, cx: &mut JSContext, value: USVString);
fn get_host(&self, no_gc: &NoGC) -> USVString;
fn set_host(&self, cx: &mut JSContext, value: USVString);
fn get_hostname(&self, no_gc: &NoGC) -> USVString;
fn set_hostname(&self, cx: &mut JSContext, value: USVString);
fn get_href(&self, no_gc: &NoGC) -> USVString;
fn get_origin(&self, no_gc: &NoGC) -> USVString;
fn get_password(&self, no_gc: &NoGC) -> USVString;
fn set_password(&self, cx: &mut JSContext, value: USVString);
fn get_pathname(&self, no_gc: &NoGC) -> USVString;
fn set_pathname(&self, cx: &mut JSContext, value: USVString);
fn get_port(&self, no_gc: &NoGC) -> USVString;
fn set_port(&self, cx: &mut JSContext, value: USVString);
fn get_protocol(&self, no_gc: &NoGC) -> USVString;
fn set_protocol(&self, cx: &mut JSContext, value: USVString);
fn get_search(&self, no_gc: &NoGC) -> USVString;
fn set_search(&self, cx: &mut JSContext, value: USVString);
fn get_username(&self, no_gc: &NoGC) -> USVString;
fn set_url(&self, no_gc: &NoGC);
fn set_username(&self, cx: &mut JSContext, value: USVString);
fn update_href(&self, cx: &mut JSContext, url: String);
fn reinitialize_url(&self, no_gc: &NoGC);
fn attribute_mutated_for_hyperlinks(
&self,
no_gc: &NoGC,
attr: AttrRef<'_>,
mutation: AttributeMutation<'_>,
);
}
Expand description