pub struct IOFileHandle(/* private fields */);Expand description
Handle to a file for IO operations.
C++ equivalent: MTL::IOFileHandle
Implementations§
Trait Implementations§
Source§impl Clone for IOFileHandle
impl Clone for IOFileHandle
Source§impl Drop for IOFileHandle
impl Drop for IOFileHandle
Source§impl Referencing for IOFileHandle
impl Referencing for IOFileHandle
Source§fn as_mut_ptr(&self) -> *mut c_void
fn as_mut_ptr(&self) -> *mut c_void
Get the raw mutable pointer to the Objective-C object.
Source§fn retain(&self) -> Selfwhere
Self: Clone,
fn retain(&self) -> Selfwhere
Self: Clone,
Retain the object, incrementing its reference count. Read more
Source§fn autorelease(&self) -> Selfwhere
Self: Clone,
fn autorelease(&self) -> Selfwhere
Self: Clone,
Autorelease the object. Read more
Source§fn retain_count(&self) -> usize
fn retain_count(&self) -> usize
Get the retain count of the object. Read more
impl Send for IOFileHandle
impl Sync for IOFileHandle
Auto Trait Implementations§
impl Freeze for IOFileHandle
impl RefUnwindSafe for IOFileHandle
impl Unpin for IOFileHandle
impl UnwindSafe for IOFileHandle
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