Struct yew_hooks::LocationState
source · [−]pub struct LocationState {
pub trigger: String,
pub state: Option<JsValue>,
pub length: u32,
pub hash: String,
pub host: String,
pub hostname: String,
pub href: String,
pub origin: String,
pub pathname: String,
pub port: String,
pub protocol: String,
pub search: String,
}Expand description
State for brower’s location.
Fields
trigger: Stringstate: Option<JsValue>length: u32hash: Stringhost: Stringhostname: Stringhref: Stringorigin: Stringpathname: Stringport: Stringprotocol: Stringsearch: StringAuto Trait Implementations
impl RefUnwindSafe for LocationState
impl !Send for LocationState
impl !Sync for LocationState
impl Unpin for LocationState
impl UnwindSafe for LocationState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcepub fn into_prop_value(self) -> Option<T>
pub fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcepub fn into_prop_value(self) -> T
pub fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.