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.rusage.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.rusage.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.rusage.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.rusage.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.rusage.html new file mode 100644 index 0000000..2f9af16 --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.rusage.html @@ -0,0 +1,22 @@ +rusage in libc - Rust
#[repr(C)]
pub struct rusage {
Show 16 fields + pub ru_utime: timeval, + pub ru_stime: timeval, + pub ru_maxrss: c_long, + pub ru_ixrss: c_long, + pub ru_idrss: c_long, + pub ru_isrss: c_long, + pub ru_minflt: c_long, + pub ru_majflt: c_long, + pub ru_nswap: c_long, + pub ru_inblock: c_long, + pub ru_oublock: c_long, + pub ru_msgsnd: c_long, + pub ru_msgrcv: c_long, + pub ru_nsignals: c_long, + pub ru_nvcsw: c_long, + pub ru_nivcsw: c_long, +
}

Fields

ru_utime: timevalru_stime: timevalru_maxrss: c_longru_ixrss: c_longru_idrss: c_longru_isrss: c_longru_minflt: c_longru_majflt: c_longru_nswap: c_longru_inblock: c_longru_oublock: c_longru_msgsnd: c_longru_msgrcv: c_longru_nsignals: c_longru_nvcsw: c_longru_nivcsw: c_long

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