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

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

    #[repr(C)]
    pub struct stat {
        pub st_dev: dev_t,
        pub st_ino: ino_t,
        pub st_mode: u16,
        pub st_nlink: c_short,
        pub st_uid: c_short,
        pub st_gid: c_short,
        pub st_rdev: dev_t,
        pub st_size: i64,
        pub st_atime: time64_t,
        pub st_mtime: time64_t,
        pub st_ctime: time64_t,
    }

## Fields

`st_dev: dev_t` `st_ino: ino_t` `st_mode: u16` `st_nlink: c_short` `st_uid: c_short` `st_gid: c_short` `st_rdev: dev_t` `st_size: i64` `st_atime: time64_t` `st_mtime: time64_t` `st_ctime: time64_t`

## Trait Implementations

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

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

#### `fn clone(&self) -> stat`
[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
⏎
  Go to active search result
+
  Collapse/expand 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`)