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§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 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§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 VectorIntoJsValue for TestInterval
impl VectorIntoJsValue for TestInterval
fn vector_into_jsvalue(vector: Box<[TestInterval]>) -> JsValue
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
impl SupportsConstructor for TestInterval
impl SupportsInstanceProperty for TestInterval
impl SupportsStaticProperty for TestInterval
Auto Trait Implementations§
impl Freeze for TestInterval
impl !RefUnwindSafe for TestInterval
impl !Send for TestInterval
impl !Sync for TestInterval
impl Unpin for TestInterval
impl !UnwindSafe 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::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
.