pub struct JsStateValidityChecker { /* private fields */ }Implementations§
Source§impl JsStateValidityChecker
impl JsStateValidityChecker
pub fn new(callback: StateValidityCallback) -> Self
Trait Implementations§
Source§impl Clone for JsStateValidityChecker
impl Clone for JsStateValidityChecker
Source§fn clone(&self) -> JsStateValidityChecker
fn clone(&self) -> JsStateValidityChecker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<JsStateValidityChecker> for JsValue
impl From<JsStateValidityChecker> for JsValue
Source§fn from(value: JsStateValidityChecker) -> Self
fn from(value: JsStateValidityChecker) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for JsStateValidityChecker
impl FromWasmAbi for JsStateValidityChecker
Source§impl IntoWasmAbi for JsStateValidityChecker
impl IntoWasmAbi for JsStateValidityChecker
Source§impl RefFromWasmAbi for JsStateValidityChecker
impl RefFromWasmAbi for JsStateValidityChecker
Source§type Anchor = RcRef<JsStateValidityChecker>
type Anchor = RcRef<JsStateValidityChecker>
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.impl SupportsConstructor for JsStateValidityChecker
impl SupportsInstanceProperty for JsStateValidityChecker
impl SupportsStaticProperty for JsStateValidityChecker
Source§impl VectorFromWasmAbi for JsStateValidityChecker
impl VectorFromWasmAbi for JsStateValidityChecker
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JsStateValidityChecker]>
Source§impl VectorIntoWasmAbi for JsStateValidityChecker
impl VectorIntoWasmAbi for JsStateValidityChecker
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JsStateValidityChecker]>) -> Self::Abi
Source§impl WasmDescribeVector for JsStateValidityChecker
impl WasmDescribeVector for JsStateValidityChecker
Auto Trait Implementations§
impl !Send for JsStateValidityChecker
impl !Sync for JsStateValidityChecker
impl Freeze for JsStateValidityChecker
impl RefUnwindSafe for JsStateValidityChecker
impl Unpin for JsStateValidityChecker
impl UnsafeUnpin for JsStateValidityChecker
impl UnwindSafe for JsStateValidityChecker
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.