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: String§state: Option<JsValue>§length: u32§hash: String§host: String§hostname: String§href: String§origin: String§pathname: String§port: String§protocol: String§search: 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.