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: String
Auto Trait Implementations§
impl Freeze for LocationState
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.