Struct libc_interface::flock [−][src]
#[repr(C)]pub struct flock { pub l_type: c_short, pub l_whence: c_short, pub l_start: off_t, pub l_len: off_t, pub l_pid: pid_t, }
Fields
l_type: c_short
l_whence: c_short
l_start: off_t
l_len: off_t
l_pid: pid_t
Trait Implementations
impl Copy for flock
[src]
impl Copy for flock
impl Clone for flock
[src]
impl Clone for flock
fn clone(&self) -> flock
[src]
fn clone(&self) -> flock
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for flock
[src]
impl PartialEq for flock
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for flock
[src]
impl Eq for flock