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.Elf32_Ehdr.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf32_Ehdr.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf32_Ehdr.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf32_Ehdr.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf32_Ehdr.html new file mode 100644 index 0000000..87783bc --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf32_Ehdr.html @@ -0,0 +1,20 @@ +Elf32_Ehdr in libc - Rust
#[repr(C)]
pub struct Elf32_Ehdr {
Show 14 fields + pub e_ident: [c_uchar; 16], + pub e_type: Elf32_Half, + pub e_machine: Elf32_Half, + pub e_version: Elf32_Word, + pub e_entry: Elf32_Addr, + pub e_phoff: Elf32_Off, + pub e_shoff: Elf32_Off, + pub e_flags: Elf32_Word, + pub e_ehsize: Elf32_Half, + pub e_phentsize: Elf32_Half, + pub e_phnum: Elf32_Half, + pub e_shentsize: Elf32_Half, + pub e_shnum: Elf32_Half, + pub e_shstrndx: Elf32_Half, +
}

Fields

e_ident: [c_uchar; 16]e_type: Elf32_Halfe_machine: Elf32_Halfe_version: Elf32_Worde_entry: Elf32_Addre_phoff: Elf32_Offe_shoff: Elf32_Offe_flags: Elf32_Worde_ehsize: Elf32_Halfe_phentsize: Elf32_Halfe_phnum: Elf32_Halfe_shentsize: Elf32_Halfe_shnum: Elf32_Halfe_shstrndx: Elf32_Half

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