# libc::Elf32_Shdr - Rust
API documentation for the Rust `Elf32_Shdr` struct in crate `libc`.
Keywords: rust, rustlang, rust-lang, Elf32_Shdr

# Struct libc::Elf32_Shdr [−] [src]

    #[repr(C)]pub struct Elf32_Shdr {
        pub sh_name: Elf32_Word,
        pub sh_type: Elf32_Word,
        pub sh_flags: Elf32_Word,
        pub sh_addr: Elf32_Addr,
        pub sh_offset: Elf32_Off,
        pub sh_size: Elf32_Word,
        pub sh_link: Elf32_Word,
        pub sh_info: Elf32_Word,
        pub sh_addralign: Elf32_Word,
        pub sh_entsize: Elf32_Word,
    }

## Fields

`sh_name: Elf32_Word` `sh_type: Elf32_Word` `sh_flags: Elf32_Word` `sh_addr: Elf32_Addr` `sh_offset: Elf32_Off` `sh_size: Elf32_Word` `sh_link: Elf32_Word` `sh_info: Elf32_Word` `sh_addralign: Elf32_Word` `sh_entsize: Elf32_Word`

## Trait Implementations

### `impl Clone for Elf32_Shdr` [src]

#### `fn clone(&self) -> Elf32_Shdr` [src]

Returns a copy of the value. Read more

#### `pub fn clone_from(&mut self, source: &Self)`1.0.0 [src]

Performs copy-assignment from `source`. Read more

### `impl Copy for Elf32_Shdr` [src]

## Auto Trait Implementations

### `impl Send for Elf32_Shdr` [src]

### `impl Sync for Elf32_Shdr` [src]

### `impl Unpin for Elf32_Shdr` [src]

## Blanket Implementations

### `impl<T> Any for T where
T: 'static + ?Sized,` [src]

#### `pub fn type_id(&self) -> TypeId` [src]

Gets the `TypeId` of `self`. Read more

### `impl<T> Borrow<T> for T where
T: ?Sized,` [src]

#### `pub fn borrow(&self) -> &T` [src]

Immutably borrows from an owned value. Read more

### `impl<T> BorrowMut<T> for T where
T: ?Sized,` [src]

#### `pub fn borrow_mut(&mut self) -> &mut T` [src]

Mutably borrows from an owned value. Read more

### `impl<T> From<T> for T` [src]

#### `pub fn from(t: T) -> T` [src]

Performs the conversion.

### `impl<T, U> Into<U> for T where
U: From<T>,` [src]

#### `pub fn into(self) -> U` [src]

Performs the conversion.

### `impl<T, U> TryFrom<U> for T where
U: Into<T>,` [src]

#### `type Error = Infallible`

The type returned in the event of a conversion error.

#### `pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>` [src]

Performs the conversion.

### `impl<T, U> TryInto<U> for T where
U: TryFrom<T>,` [src]

#### `type Error = <U as TryFrom<T>>::Error`

The type returned in the event of a conversion error.

#### `pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>` [src]

Performs the conversion.