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 RefFromWasmAbi for SpellCheckProvider
impl RefFromWasmAbi for SpellCheckProvider
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 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 VectorIntoJsValue for SpellCheckProvider
impl VectorIntoJsValue for SpellCheckProvider
fn vector_into_jsvalue(vector: Box<[SpellCheckProvider]>) -> JsValue
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
impl SupportsConstructor for SpellCheckProvider
impl SupportsInstanceProperty for SpellCheckProvider
impl SupportsStaticProperty 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 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::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
.