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

Required Methods§

source

fn GetHref(&self) -> Result<USVString, Error>

source

fn SetHref(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn GetOrigin(&self) -> Result<USVString, Error>

source

fn GetProtocol(&self) -> Result<USVString, Error>

source

fn SetProtocol(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn GetHost(&self) -> Result<USVString, Error>

source

fn SetHost(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn GetHostname(&self) -> Result<USVString, Error>

source

fn SetHostname(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn GetPort(&self) -> Result<USVString, Error>

source

fn SetPort(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn GetPathname(&self) -> Result<USVString, Error>

source

fn SetPathname(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn GetSearch(&self) -> Result<USVString, Error>

source

fn SetSearch(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn GetHash(&self) -> Result<USVString, Error>

source

fn SetHash(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn Assign(&self, url: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn Replace(&self, url: USVString, _can_gc: CanGc) -> Result<(), Error>

source

fn Reload(&self, _can_gc: CanGc) -> Result<(), Error>

Implementors§