pub struct TestInterval { /* private fields */ }Implementations§
Source§impl TestInterval
impl TestInterval
pub fn new(val: u32, str: String) -> TestInterval
Trait Implementations§
Source§impl From<TestInterval> for JsValue
impl From<TestInterval> for JsValue
Source§fn from(value: TestInterval) -> Self
fn from(value: TestInterval) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TestInterval
impl FromWasmAbi for TestInterval
Source§impl IntoWasmAbi for TestInterval
impl IntoWasmAbi for TestInterval
Source§impl LongRefFromWasmAbi for TestInterval
impl LongRefFromWasmAbi for TestInterval
Source§type Abi = WasmPtr<WasmRefCell<TestInterval>>
type Abi = WasmPtr<WasmRefCell<TestInterval>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<TestInterval>
type Anchor = RcRef<TestInterval>
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 OptionFromWasmAbi for TestInterval
impl OptionFromWasmAbi for TestInterval
Source§impl OptionIntoWasmAbi for TestInterval
impl OptionIntoWasmAbi for TestInterval
Source§impl RefFromWasmAbi for TestInterval
impl RefFromWasmAbi for TestInterval
Source§type Abi = WasmPtr<WasmRefCell<TestInterval>>
type Abi = WasmPtr<WasmRefCell<TestInterval>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<TestInterval>
type Anchor = RcRef<TestInterval>
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 TestInterval
impl RefMutFromWasmAbi for TestInterval
Source§type Abi = WasmPtr<WasmRefCell<TestInterval>>
type Abi = WasmPtr<WasmRefCell<TestInterval>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<TestInterval>
type Anchor = RcRefMut<TestInterval>
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 TestInterval
impl SupportsInstanceProperty for TestInterval
impl SupportsStaticProperty for TestInterval
Source§impl TryFromJsValue for TestInterval
impl TryFromJsValue for TestInterval
Source§impl VectorFromWasmAbi for TestInterval
impl VectorFromWasmAbi for TestInterval
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TestInterval]>
Source§impl VectorIntoWasmAbi for TestInterval
impl VectorIntoWasmAbi for TestInterval
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TestInterval]>) -> Self::Abi
Source§impl WasmDescribeVector for TestInterval
impl WasmDescribeVector for TestInterval
Auto Trait Implementations§
impl !RefUnwindSafe for TestInterval
impl !Send for TestInterval
impl !Sync for TestInterval
impl !UnwindSafe for TestInterval
impl Freeze for TestInterval
impl Unpin for TestInterval
impl UnsafeUnpin for TestInterval
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.