pub struct JsPrice { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl FromWasmAbi for JsPrice
impl FromWasmAbi for JsPrice
Source§impl IntoWasmAbi for JsPrice
impl IntoWasmAbi for JsPrice
Source§impl LongRefFromWasmAbi for JsPrice
impl LongRefFromWasmAbi for JsPrice
Source§impl OptionFromWasmAbi for JsPrice
impl OptionFromWasmAbi for JsPrice
Source§impl OptionIntoWasmAbi for JsPrice
impl OptionIntoWasmAbi for JsPrice
Source§impl RefFromWasmAbi for JsPrice
impl RefFromWasmAbi for JsPrice
Source§type Anchor = RcRef<JsPrice>
type Anchor = RcRef<JsPrice>
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§unsafe fn ref_from_abi(
js: <JsPrice as RefFromWasmAbi>::Abi,
) -> <JsPrice as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <JsPrice as RefFromWasmAbi>::Abi, ) -> <JsPrice as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for JsPrice
impl RefMutFromWasmAbi for JsPrice
Source§impl TryFromJsValue for JsPrice
impl TryFromJsValue for JsPrice
Source§impl VectorFromWasmAbi for JsPrice
impl VectorFromWasmAbi for JsPrice
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <JsPrice as VectorFromWasmAbi>::Abi, ) -> Box<[JsPrice]>
Source§impl VectorIntoWasmAbi for JsPrice
impl VectorIntoWasmAbi for JsPrice
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[JsPrice]>, ) -> <JsPrice as VectorIntoWasmAbi>::Abi
Auto Trait Implementations§
impl Freeze for JsPrice
impl RefUnwindSafe for JsPrice
impl Send for JsPrice
impl Sync for JsPrice
impl Unpin for JsPrice
impl UnwindSafe for JsPrice
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
.