pub trait LocationMethods {
Show 20 methods // Required methods fn GetHref(&self) -> Result<USVString, Error>; fn SetHref(&self, value: USVString) -> Result<(), Error>; fn GetOrigin(&self) -> Result<USVString, Error>; fn GetProtocol(&self) -> Result<USVString, Error>; fn SetProtocol(&self, value: USVString) -> Result<(), Error>; fn GetHost(&self) -> Result<USVString, Error>; fn SetHost(&self, value: USVString) -> Result<(), Error>; fn GetHostname(&self) -> Result<USVString, Error>; fn SetHostname(&self, value: USVString) -> Result<(), Error>; fn GetPort(&self) -> Result<USVString, Error>; fn SetPort(&self, value: USVString) -> Result<(), Error>; fn GetPathname(&self) -> Result<USVString, Error>; fn SetPathname(&self, value: USVString) -> Result<(), Error>; fn GetSearch(&self) -> Result<USVString, Error>; fn SetSearch(&self, value: USVString) -> Result<(), Error>; fn GetHash(&self) -> Result<USVString, Error>; fn SetHash(&self, value: USVString) -> Result<(), Error>; fn Assign(&self, url: USVString) -> Result<(), Error>; fn Replace(&self, url: USVString) -> Result<(), Error>; fn Reload(&self) -> Result<(), Error>;
}

Required Methods§

Implementors§