pub struct KeystrokeOutcome {
consumed: bool,
flag_raised: bool,
far_keyboard_is_active: bool,
}
Fields§
§consumed: bool
§flag_raised: bool
§far_keyboard_is_active: bool
Implementations§
Source§impl KeystrokeOutcome
impl KeystrokeOutcome
pub fn consumed(&self) -> bool
pub fn flag_raised(&self) -> bool
pub fn far_keyboard_is_active(&mut self) -> bool
Trait Implementations§
Source§impl From<KeystrokeOutcome> for JsValue
impl From<KeystrokeOutcome> for JsValue
Source§fn from(value: KeystrokeOutcome) -> Self
fn from(value: KeystrokeOutcome) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for KeystrokeOutcome
impl FromWasmAbi for KeystrokeOutcome
Source§impl IntoWasmAbi for KeystrokeOutcome
impl IntoWasmAbi for KeystrokeOutcome
Source§impl OptionFromWasmAbi for KeystrokeOutcome
impl OptionFromWasmAbi for KeystrokeOutcome
Source§impl OptionIntoWasmAbi for KeystrokeOutcome
impl OptionIntoWasmAbi for KeystrokeOutcome
Source§impl RefFromWasmAbi for KeystrokeOutcome
impl RefFromWasmAbi for KeystrokeOutcome
Source§type Anchor = RcRef<KeystrokeOutcome>
type Anchor = RcRef<KeystrokeOutcome>
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§impl RefMutFromWasmAbi for KeystrokeOutcome
impl RefMutFromWasmAbi for KeystrokeOutcome
Source§impl TryFromJsValue for KeystrokeOutcome
impl TryFromJsValue for KeystrokeOutcome
Source§impl VectorFromWasmAbi for KeystrokeOutcome
impl VectorFromWasmAbi for KeystrokeOutcome
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[KeystrokeOutcome]>
Source§impl VectorIntoWasmAbi for KeystrokeOutcome
impl VectorIntoWasmAbi for KeystrokeOutcome
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[KeystrokeOutcome]>) -> Self::Abi
Source§impl WasmDescribe for KeystrokeOutcome
impl WasmDescribe for KeystrokeOutcome
impl SupportsConstructor for KeystrokeOutcome
impl SupportsInstanceProperty for KeystrokeOutcome
impl SupportsStaticProperty for KeystrokeOutcome
Auto Trait Implementations§
impl Freeze for KeystrokeOutcome
impl RefUnwindSafe for KeystrokeOutcome
impl Send for KeystrokeOutcome
impl Sync for KeystrokeOutcome
impl Unpin for KeystrokeOutcome
impl UnwindSafe for KeystrokeOutcome
Blanket Implementations§
§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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
§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
§impl<T> ConvUtil for T
impl<T> ConvUtil for T
§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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::Abi
Source§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
.§impl<Src> TryFrom<Src> for Src
impl<Src> TryFrom<Src> for Src
§impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
§impl<Src> ValueFrom<Src> for Src
impl<Src> ValueFrom<Src> for Src
§fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
Convert the given value into an exactly equivalent representation.
§impl<Src, Dst> ValueInto<Dst> for Srcwhere
Dst: ValueFrom<Src>,
impl<Src, Dst> ValueInto<Dst> for Srcwhere
Dst: ValueFrom<Src>,
§fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>
fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>
Convert the subject into an exactly equivalent representation.