Struct objc2_foundation::NSZone
source · [−]pub struct NSZone { /* private fields */ }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
Auto Trait Implementations
impl RefUnwindSafe for NSZone
impl Send for NSZone
impl Sync for NSZone
impl Unpin for NSZone
impl UnwindSafe for NSZone
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