From 369d11587339ce74f8ebc76f2607fe55545eaf7d Mon Sep 17 00:00:00 2001 From: garhve Date: Tue, 20 Dec 2022 11:04:25 +0800 Subject: Build small project following the book --- .../target/doc/ppv_lite86/trait.Machine.html | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/ppv_lite86/trait.Machine.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/ppv_lite86/trait.Machine.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/ppv_lite86/trait.Machine.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/ppv_lite86/trait.Machine.html new file mode 100644 index 0000000..fbf63c7 --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/ppv_lite86/trait.Machine.html @@ -0,0 +1,25 @@ +Machine in ppv_lite86 - Rust
pub trait Machine: Sized + Copy {
+    type u32x4: u32x4<Self>;
+    type u64x2: u64x2<Self>;
+    type u128x1: u128x1<Self>;
+    type u32x4x2: u32x4x2<Self>;
+    type u64x2x2: u64x2x2<Self>;
+    type u64x4: u64x4<Self>;
+    type u128x2: u128x2<Self>;
+    type u32x4x4: u32x4x4<Self>;
+    type u64x2x4: u64x2x4<Self>;
+    type u128x4: u128x4<Self>;
+
+    unsafe fn instance() -> Self;
+
+    fn unpack<S, V: Store<S>>(self, s: S) -> V { ... }
+    fn vec<V, A>(self, a: A) -> V
    where
        V: MultiLane<A>
, + { ... } + fn read_le<V>(self, input: &[u8]) -> V
    where
        V: StoreBytes
, + { ... } + fn read_be<V>(self, input: &[u8]) -> V
    where
        V: StoreBytes
, + { ... } +}

Required Associated Types

Required Methods

Safety
+

Caller must ensure the type of Self is appropriate for the hardware of the execution +environment.

+

Provided Methods

Implementors

\ No newline at end of file -- cgit v1.2.3-70-g09d2