Struct pax_kit::pax_chassis_web::InterruptResult
source · pub struct InterruptResult {
pub prevent_default: bool,
}Fields§
§prevent_default: boolTrait Implementations§
source§impl From<InterruptResult> for JsValue
impl From<InterruptResult> for JsValue
source§fn from(value: InterruptResult) -> JsValue
fn from(value: InterruptResult) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for InterruptResult
impl FromWasmAbi for InterruptResult
source§impl IntoWasmAbi for InterruptResult
impl IntoWasmAbi for InterruptResult
source§impl LongRefFromWasmAbi for InterruptResult
impl LongRefFromWasmAbi for InterruptResult
source§type Anchor = RcRef<InterruptResult>
type Anchor = RcRef<InterruptResult>
Same as
RefFromWasmAbi::Anchorsource§unsafe fn long_ref_from_abi(
js: <InterruptResult as LongRefFromWasmAbi>::Abi,
) -> <InterruptResult as LongRefFromWasmAbi>::Anchor
unsafe fn long_ref_from_abi( js: <InterruptResult as LongRefFromWasmAbi>::Abi, ) -> <InterruptResult as LongRefFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abisource§impl OptionFromWasmAbi for InterruptResult
impl OptionFromWasmAbi for InterruptResult
source§fn is_none(abi: &<InterruptResult as FromWasmAbi>::Abi) -> bool
fn is_none(abi: &<InterruptResult as FromWasmAbi>::Abi) -> bool
Tests whether the argument is a “none” instance. If so it will be
deserialized as
None, and otherwise it will be passed to
FromWasmAbi.source§impl OptionIntoWasmAbi for InterruptResult
impl OptionIntoWasmAbi for InterruptResult
source§fn none() -> <InterruptResult as IntoWasmAbi>::Abi
fn none() -> <InterruptResult as IntoWasmAbi>::Abi
Returns an ABI instance indicating “none”, which JS will interpret as
the
None branch of this option. Read moresource§impl RefFromWasmAbi for InterruptResult
impl RefFromWasmAbi for InterruptResult
source§type Anchor = RcRef<InterruptResult>
type Anchor = RcRef<InterruptResult>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§unsafe fn ref_from_abi(
js: <InterruptResult as RefFromWasmAbi>::Abi,
) -> <InterruptResult as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <InterruptResult as RefFromWasmAbi>::Abi, ) -> <InterruptResult as RefFromWasmAbi>::Anchor
source§impl RefMutFromWasmAbi for InterruptResult
impl RefMutFromWasmAbi for InterruptResult
source§type Anchor = RcRefMut<InterruptResult>
type Anchor = RcRefMut<InterruptResult>
Same as
RefFromWasmAbi::Anchorsource§unsafe fn ref_mut_from_abi(
js: <InterruptResult as RefMutFromWasmAbi>::Abi,
) -> <InterruptResult as RefMutFromWasmAbi>::Anchor
unsafe fn ref_mut_from_abi( js: <InterruptResult as RefMutFromWasmAbi>::Abi, ) -> <InterruptResult as RefMutFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abisource§impl TryFromJsValue for InterruptResult
impl TryFromJsValue for InterruptResult
source§fn try_from_js_value(
value: JsValue,
) -> Result<InterruptResult, <InterruptResult as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<InterruptResult, <InterruptResult as TryFromJsValue>::Error>
Performs the conversion.
source§impl VectorFromWasmAbi for InterruptResult
impl VectorFromWasmAbi for InterruptResult
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <InterruptResult as VectorFromWasmAbi>::Abi, ) -> Box<[InterruptResult]>
source§impl VectorIntoWasmAbi for InterruptResult
impl VectorIntoWasmAbi for InterruptResult
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[InterruptResult]>, ) -> <InterruptResult as VectorIntoWasmAbi>::Abi
Auto Trait Implementations§
impl Freeze for InterruptResult
impl RefUnwindSafe for InterruptResult
impl Send for InterruptResult
impl Sync for InterruptResult
impl Unpin for InterruptResult
impl UnwindSafe for InterruptResult
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§fn 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.source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.