Struct objc2::foundation::NSZone
source · [−]pub struct NSZone { /* private fields */ }
Available on crate feature
foundation
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
sourceimpl RefEncode for NSZone
impl RefEncode for NSZone
sourceconst 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
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