Struct objc2_foundation::NSZone
source · #[repr(C)]pub struct NSZone { /* private fields */ }
Available on crate feature
NSZone
only.Expand description
A type used to identify and manage memory zones.
Zones are ignored on all newer platforms, you should very rarely need to
use this, but may be useful if you need to implement copyWithZone:
or
allocWithZone:
.
Trait Implementations§
source§impl RefEncode for NSZone
impl RefEncode for NSZone
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl RefUnwindSafe for NSZone
impl UnwindSafe for NSZone
Auto Trait Implementations§
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