#[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
impl Eq for flock
impl StructuralEq for flock
impl StructuralPartialEq for flock
Auto Trait Implementations
impl RefUnwindSafe for flock
impl Send for flock
impl Sync for flock
impl Unpin for flock
impl UnwindSafe for flock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more