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/libc/struct.stat64.html | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.stat64.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.stat64.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.stat64.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.stat64.html new file mode 100644 index 0000000..e24b9aa --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.stat64.html @@ -0,0 +1,23 @@ +stat64 in libc - Rust
#[repr(C)]
pub struct stat64 {
Show 16 fields + pub st_dev: dev_t, + pub st_ino: ino64_t, + pub st_nlink: nlink_t, + pub st_mode: mode_t, + pub st_uid: uid_t, + pub st_gid: gid_t, + pub st_rdev: dev_t, + pub st_size: off_t, + pub st_blksize: blksize_t, + pub st_blocks: blkcnt64_t, + pub st_atime: time_t, + pub st_atime_nsec: i64, + pub st_mtime: time_t, + pub st_mtime_nsec: i64, + pub st_ctime: time_t, + pub st_ctime_nsec: i64, + /* private fields */ +
}

Fields

st_dev: dev_tst_ino: ino64_tst_nlink: nlink_tst_mode: mode_tst_uid: uid_tst_gid: gid_tst_rdev: dev_tst_size: off_tst_blksize: blksize_tst_blocks: blkcnt64_tst_atime: time_tst_atime_nsec: i64st_mtime: time_tst_mtime_nsec: i64st_ctime: time_tst_ctime_nsec: i64

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file -- cgit v1.2.3-70-g09d2