Struct objc2_foundation::NSFastEnumerationState
source · #[repr(C)]pub struct NSFastEnumerationState {
pub state: c_ulong,
pub itemsPtr: *mut *mut AnyObject,
pub mutationsPtr: *mut c_ulong,
pub extra: [c_ulong; 5],
}
Available on crate feature
NSEnumerator
only.Fields§
§state: c_ulong
§itemsPtr: *mut *mut AnyObject
§mutationsPtr: *mut c_ulong
§extra: [c_ulong; 5]
Trait Implementations§
source§impl Clone for NSFastEnumerationState
impl Clone for NSFastEnumerationState
source§fn clone(&self) -> NSFastEnumerationState
fn clone(&self) -> NSFastEnumerationState
Returns a copy 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 NSFastEnumerationState
impl Debug for NSFastEnumerationState
source§impl Encode for NSFastEnumerationState
impl Encode for NSFastEnumerationState
source§impl PartialEq for NSFastEnumerationState
impl PartialEq for NSFastEnumerationState
source§fn eq(&self, other: &NSFastEnumerationState) -> bool
fn eq(&self, other: &NSFastEnumerationState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for NSFastEnumerationState
impl RefEncode for NSFastEnumerationState
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSFastEnumerationState
impl StructuralPartialEq for NSFastEnumerationState
Auto Trait Implementations§
impl Freeze for NSFastEnumerationState
impl !RefUnwindSafe for NSFastEnumerationState
impl !Send for NSFastEnumerationState
impl !Sync for NSFastEnumerationState
impl Unpin for NSFastEnumerationState
impl !UnwindSafe for NSFastEnumerationState
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.