Enum web_sys::NavigationType
source · [−]pub enum NavigationType {
Navigate,
Reload,
BackForward,
Prerender,
// some variants omitted
}
Expand description
The NavigationType
enum.
This API requires the following crate features to be activated: NavigationType
Variants
Navigate
Reload
BackForward
Prerender
Implementations
sourceimpl NavigationType
impl NavigationType
pub fn from_js_value(obj: &JsValue) -> Option<NavigationType>
Trait Implementations
sourceimpl Clone for NavigationType
impl Clone for NavigationType
sourcefn clone(&self) -> NavigationType
fn clone(&self) -> NavigationType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NavigationType
impl Debug for NavigationType
sourcefn from(obj: NavigationType) -> JsValue
fn from(obj: NavigationType) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for NavigationType
impl FromWasmAbi for NavigationType
sourceimpl IntoWasmAbi for NavigationType
impl IntoWasmAbi for NavigationType
sourceimpl OptionFromWasmAbi for NavigationType
impl OptionFromWasmAbi for NavigationType
sourceimpl OptionIntoWasmAbi for NavigationType
impl OptionIntoWasmAbi for NavigationType
sourceimpl WasmDescribe for NavigationType
impl WasmDescribe for NavigationType
impl Copy for NavigationType
impl Eq for NavigationType
impl StructuralEq for NavigationType
impl StructuralPartialEq for NavigationType
Auto Trait Implementations
impl RefUnwindSafe for NavigationType
impl Send for NavigationType
impl Sync for NavigationType
impl Unpin for NavigationType
impl UnwindSafe for NavigationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more