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

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

    #[repr(C)]
    pub struct rusage {
        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: timeval` `ru_stime: timeval` `ru_maxrss: c_long` `ru_ixrss: c_long` `ru_idrss: c_long` `ru_isrss: c_long` `ru_minflt: c_long` `ru_majflt: c_long` `ru_nswap: c_long` `ru_inblock: c_long` `ru_oublock: c_long` `ru_msgsnd: c_long` `ru_msgrcv: c_long` `ru_nsignals: c_long` `ru_nvcsw: c_long` `ru_nivcsw: c_long`

## Trait Implementations

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

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

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

Returns a copy of the value. Read more

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

Performs copy-assignment from `source`. Read more

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)