pub enum NavTarget {
Ignore,
About(String),
Fragment(String),
Page(bool, String, String),
}Expand description
遷移要求(location.href = ...・assign・replace・<a href>・フォームの GET 等)の
解決結果。
Variants§
Ignore
遷移しない(空・javascript:・data:/blob:/mailto: など http(s)/about 以外のスキーム)。
About(String)
内蔵の about: ページ(正規化した about:blank など)。
Fragment(String)
同一ページ内の #... だけの移動。値は # を含む素片。
Page(bool, String, String)
取得先(https か, ホスト, パス)。パスは / で始まり、クエリ・素片を含む。
Trait Implementations§
Auto Trait Implementations§
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.