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.user.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.user.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.user.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.user.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.user.html new file mode 100644 index 0000000..a404f2a --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.user.html @@ -0,0 +1,21 @@ +user in libc - Rust

Struct libc::user

source · []
#[repr(C)]
pub struct user {
Show 14 fields + pub regs: user_regs_struct, + pub u_fpvalid: c_int, + pub i387: user_fpregs_struct, + pub u_tsize: c_ulonglong, + pub u_dsize: c_ulonglong, + pub u_ssize: c_ulonglong, + pub start_code: c_ulonglong, + pub start_stack: c_ulonglong, + pub signal: c_longlong, + pub u_ar0: *mut user_regs_struct, + pub u_fpstate: *mut user_fpregs_struct, + pub magic: c_ulonglong, + pub u_comm: [c_char; 32], + pub u_debugreg: [c_ulonglong; 8], + /* private fields */ +
}

Fields

regs: user_regs_structu_fpvalid: c_inti387: user_fpregs_structu_tsize: c_ulonglongu_dsize: c_ulonglongu_ssize: c_ulonglongstart_code: c_ulonglongstart_stack: c_ulonglongsignal: c_longlongu_ar0: *mut user_regs_structu_fpstate: *mut user_fpregs_structmagic: c_ulonglongu_comm: [c_char; 32]u_debugreg: [c_ulonglong; 8]

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