Trait objc2_foundation::NSFastEnumeration

source ·
pub unsafe trait NSFastEnumeration {
    // Provided method
    unsafe fn countByEnumeratingWithState_objects_count(
        &self,
        state: NonNull<NSFastEnumerationState>,
        buffer: NonNull<*mut AnyObject>,
        len: NSUInteger
    ) -> NSUInteger
       where Self: Sized + Message { ... }
}
Available on crate feature NSEnumerator only.

Provided Methods§

Trait Implementations§

source§

impl ProtocolType for dyn NSFastEnumeration

source§

const NAME: &'static str = "NSFastEnumeration"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSFastEnumeration

Implementations on Foreign Types§

source§

impl<T> NSFastEnumeration for ProtocolObject<T>

Implementors§

source§

impl NSFastEnumeration for NSPointerArray

Available on crate feature NSPointerArray only.
source§

impl<KeyType: ?Sized, ObjectType: ?Sized> NSFastEnumeration for NSDictionary<KeyType, ObjectType>

Available on crate feature NSDictionary only.
source§

impl<KeyType: ?Sized, ObjectType: ?Sized> NSFastEnumeration for NSMapTable<KeyType, ObjectType>

Available on crate feature NSMapTable only.
source§

impl<KeyType: ?Sized, ObjectType: ?Sized> NSFastEnumeration for NSMutableDictionary<KeyType, ObjectType>

Available on crate feature NSDictionary only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSArray<ObjectType>

Available on crate feature NSArray only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSCountedSet<ObjectType>

Available on crate feature NSSet only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSDirectoryEnumerator<ObjectType>

Available on crate feature NSFileManager only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSEnumerator<ObjectType>

source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSHashTable<ObjectType>

Available on crate feature NSHashTable only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSMutableArray<ObjectType>

Available on crate feature NSArray only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSMutableOrderedSet<ObjectType>

Available on crate feature NSOrderedSet only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSMutableSet<ObjectType>

Available on crate feature NSSet only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSOrderedCollectionDifference<ObjectType>

Available on crate feature NSOrderedCollectionDifference only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSOrderedSet<ObjectType>

Available on crate feature NSOrderedSet only.
source§

impl<ObjectType: ?Sized> NSFastEnumeration for NSSet<ObjectType>

Available on crate feature NSSet only.