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 --- .../guessing_game/target/doc/libc/struct.statvfs.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.statvfs.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.statvfs.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.statvfs.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.statvfs.html new file mode 100644 index 0000000..9684cd0 --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.statvfs.html @@ -0,0 +1,18 @@ +statvfs in libc - Rust
#[repr(C)]
pub struct statvfs { + pub f_bsize: c_ulong, + pub f_frsize: c_ulong, + pub f_blocks: fsblkcnt_t, + pub f_bfree: fsblkcnt_t, + pub f_bavail: fsblkcnt_t, + pub f_files: fsfilcnt_t, + pub f_ffree: fsfilcnt_t, + pub f_favail: fsfilcnt_t, + pub f_fsid: c_ulong, + pub f_flag: c_ulong, + pub f_namemax: c_ulong, + /* private fields */ +}

Fields

f_bsize: c_ulongf_frsize: c_ulongf_blocks: fsblkcnt_tf_bfree: fsblkcnt_tf_bavail: fsblkcnt_tf_files: fsfilcnt_tf_ffree: fsfilcnt_tf_favail: fsfilcnt_tf_fsid: c_ulongf_flag: c_ulongf_namemax: c_ulong

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