pub struct file_handle { /* private fields */ }Expand description
Represents an FFI type from fcntl.h for a file_handle.
Implementations§
Source§impl file_handle
impl file_handle
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new file_handle.
pub fn as_ptr(&self) -> *const Self
pub fn as_void_ptr(&self) -> *const c_void
pub fn as_ptr_mut(&mut self) -> *mut Self
pub fn as_void_ptr_mut(&mut self) -> *mut c_void
Trait Implementations§
Source§impl Clone for file_handle
impl Clone for file_handle
Source§fn clone(&self) -> file_handle
fn clone(&self) -> file_handle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for file_handle
impl Debug for file_handle
Source§impl Default for file_handle
impl Default for file_handle
Source§impl PartialEq for file_handle
impl PartialEq for file_handle
impl Eq for file_handle
impl StructuralPartialEq for file_handle
Auto Trait Implementations§
impl Freeze for file_handle
impl RefUnwindSafe for file_handle
impl !Send for file_handle
impl !Sync for file_handle
impl Unpin for file_handle
impl UnwindSafe for file_handle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more