pub struct FastEnumeration(/* private fields */);Expand description
An object that supports fast enumeration.
C++ equivalent: NS::FastEnumeration
Implementations§
Source§impl FastEnumeration
impl FastEnumeration
Sourcepub fn count_by_enumerating(
&self,
state: *mut FastEnumerationState,
buffer: *mut *mut Object,
len: UInteger,
) -> UInteger
pub fn count_by_enumerating( &self, state: *mut FastEnumerationState, buffer: *mut *mut Object, len: UInteger, ) -> UInteger
Count objects by enumerating.
C++ equivalent: NS::UInteger countByEnumerating(FastEnumerationState* pState, Object** pBuffer, NS::UInteger len)
Trait Implementations§
Source§impl Clone for FastEnumeration
impl Clone for FastEnumeration
Source§fn clone(&self) -> FastEnumeration
fn clone(&self) -> FastEnumeration
Returns a duplicate 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 Referencing for FastEnumeration
impl Referencing for FastEnumeration
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) -> UInteger
fn retain_count(&self) -> UInteger
Get the retain count of the object. Read more
impl Send for FastEnumeration
impl Sync for FastEnumeration
Auto Trait Implementations§
impl Freeze for FastEnumeration
impl RefUnwindSafe for FastEnumeration
impl Unpin for FastEnumeration
impl UnwindSafe for FastEnumeration
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