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.Elf64_Phdr.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf64_Phdr.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf64_Phdr.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf64_Phdr.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf64_Phdr.html new file mode 100644 index 0000000..03e320f --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.Elf64_Phdr.html @@ -0,0 +1,14 @@ +Elf64_Phdr in libc - Rust
#[repr(C)]
pub struct Elf64_Phdr { + pub p_type: Elf64_Word, + pub p_flags: Elf64_Word, + pub p_offset: Elf64_Off, + pub p_vaddr: Elf64_Addr, + pub p_paddr: Elf64_Addr, + pub p_filesz: Elf64_Xword, + pub p_memsz: Elf64_Xword, + pub p_align: Elf64_Xword, +}

Fields

p_type: Elf64_Wordp_flags: Elf64_Wordp_offset: Elf64_Offp_vaddr: Elf64_Addrp_paddr: Elf64_Addrp_filesz: Elf64_Xwordp_memsz: Elf64_Xwordp_align: Elf64_Xword

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