#[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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more