We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffe914e commit 761e7bbCopy full SHA for 761e7bb
src/convert.rs
@@ -0,0 +1,9 @@
1
+use super::*;
2
+
3
+pub trait From<T>: Sized {
4
+ fn from(_: T) -> Self;
5
+}
6
7
+pub trait Into<T>: Sized {
8
+ fn from(self) -> T;
9
src/lib.rs
@@ -1,3 +1,5 @@
+#[cfg(not(feature = "std"))]
+pub mod convert;
/// ewasm_api is a library used to interface with Ethereum's EEI in Ewasm, a set of enhancements to
/// the Ethereum smart contract platform.
/// ewasm_api exposes both a set of unsafe "native" functions representing the actual EEI
@@ -18,7 +20,6 @@
18
20
/// finish_data(&a.bytes);
19
21
/// }
22
/// ```
-
23
pub mod types;
24
25
mod native;
0 commit comments