pub struct SpellCheckProvider { /* private fields */ }Implementations§
Source§impl SpellCheckProvider
impl SpellCheckProvider
pub fn new(spell_check: Function) -> SpellCheckProvider
pub fn spell_check(&self) -> Function
pub fn set_spell_check(&mut self, value: Function)
Trait Implementations§
Source§impl From<SpellCheckProvider> for JsValue
impl From<SpellCheckProvider> for JsValue
Source§fn from(value: SpellCheckProvider) -> Self
fn from(value: SpellCheckProvider) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SpellCheckProvider
impl FromWasmAbi for SpellCheckProvider
Source§impl IntoWasmAbi for SpellCheckProvider
impl IntoWasmAbi for SpellCheckProvider
Source§impl LongRefFromWasmAbi for SpellCheckProvider
impl LongRefFromWasmAbi for SpellCheckProvider
Source§type Abi = WasmPtr<WasmRefCell<SpellCheckProvider>>
type Abi = WasmPtr<WasmRefCell<SpellCheckProvider>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<SpellCheckProvider>
type Anchor = RcRef<SpellCheckProvider>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl RefFromWasmAbi for SpellCheckProvider
impl RefFromWasmAbi for SpellCheckProvider
Source§type Abi = WasmPtr<WasmRefCell<SpellCheckProvider>>
type Abi = WasmPtr<WasmRefCell<SpellCheckProvider>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<SpellCheckProvider>
type Anchor = RcRef<SpellCheckProvider>
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 SpellCheckProvider
impl RefMutFromWasmAbi for SpellCheckProvider
Source§type Abi = WasmPtr<WasmRefCell<SpellCheckProvider>>
type Abi = WasmPtr<WasmRefCell<SpellCheckProvider>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<SpellCheckProvider>
type Anchor = RcRefMut<SpellCheckProvider>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl SupportsConstructor for SpellCheckProvider
impl SupportsInstanceProperty for SpellCheckProvider
impl SupportsStaticProperty for SpellCheckProvider
Source§impl TryFromJsValue for SpellCheckProvider
impl TryFromJsValue for SpellCheckProvider
Source§impl VectorFromWasmAbi for SpellCheckProvider
impl VectorFromWasmAbi for SpellCheckProvider
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SpellCheckProvider]>
Source§impl VectorIntoWasmAbi for SpellCheckProvider
impl VectorIntoWasmAbi for SpellCheckProvider
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SpellCheckProvider]>) -> Self::Abi
Source§impl WasmDescribeVector for SpellCheckProvider
impl WasmDescribeVector for SpellCheckProvider
Auto Trait Implementations§
impl Freeze for SpellCheckProvider
impl RefUnwindSafe for SpellCheckProvider
impl Send for SpellCheckProvider
impl Sync for SpellCheckProvider
impl Unpin for SpellCheckProvider
impl UnsafeUnpin for SpellCheckProvider
impl UnwindSafe for SpellCheckProvider
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.