[][src]Trait uikit_sys::INSMapTable

pub trait INSMapTable<KeyType, ObjectType>: Sized + Deref {
    unsafe fn initWithKeyOptions_valueOptions_capacity_(
        self,
        keyOptions: NSPointerFunctionsOptions,
        valueOptions: NSPointerFunctionsOptions,
        initialCapacity: NSUInteger
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithKeyPointerFunctions_valuePointerFunctions_capacity_(
        self,
        keyFunctions: NSPointerFunctions,
        valueFunctions: NSPointerFunctions,
        initialCapacity: NSUInteger
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn objectForKey_(self, aKey: u64) -> u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeObjectForKey_(self, aKey: u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setObject_forKey_(self, anObject: u64, aKey: u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn keyEnumerator(self) -> NSEnumerator
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn objectEnumerator(self) -> NSEnumerator
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeAllObjects(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dictionaryRepresentation(self) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn keyPointerFunctions(self) -> NSPointerFunctions
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn valuePointerFunctions(self) -> NSPointerFunctions
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn count(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn mapTableWithKeyOptions_valueOptions_(
        keyOptions: NSPointerFunctionsOptions,
        valueOptions: NSPointerFunctionsOptions
    ) -> NSMapTable
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn mapTableWithStrongToStrongObjects() -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn mapTableWithWeakToStrongObjects() -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn mapTableWithStrongToWeakObjects() -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn mapTableWithWeakToWeakObjects() -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn strongToStrongObjectsMapTable() -> NSMapTable
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn weakToStrongObjectsMapTable() -> NSMapTable
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn strongToWeakObjectsMapTable() -> NSMapTable
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn weakToWeakObjectsMapTable() -> NSMapTable
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithKeyOptions_valueOptions_capacity_(
    self,
    keyOptions: NSPointerFunctionsOptions,
    valueOptions: NSPointerFunctionsOptions,
    initialCapacity: NSUInteger
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithKeyPointerFunctions_valuePointerFunctions_capacity_(
    self,
    keyFunctions: NSPointerFunctions,
    valueFunctions: NSPointerFunctions,
    initialCapacity: NSUInteger
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn objectForKey_(self, aKey: u64) -> u64 where
    Self::Target: Message + Sized

unsafe fn removeObjectForKey_(self, aKey: u64) where
    Self::Target: Message + Sized

unsafe fn setObject_forKey_(self, anObject: u64, aKey: u64) where
    Self::Target: Message + Sized

unsafe fn keyEnumerator(self) -> NSEnumerator where
    Self::Target: Message + Sized

unsafe fn objectEnumerator(self) -> NSEnumerator where
    Self::Target: Message + Sized

unsafe fn removeAllObjects(self) where
    Self::Target: Message + Sized

unsafe fn dictionaryRepresentation(self) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn keyPointerFunctions(self) -> NSPointerFunctions where
    Self::Target: Message + Sized

unsafe fn valuePointerFunctions(self) -> NSPointerFunctions where
    Self::Target: Message + Sized

unsafe fn count(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn mapTableWithKeyOptions_valueOptions_(
    keyOptions: NSPointerFunctionsOptions,
    valueOptions: NSPointerFunctionsOptions
) -> NSMapTable where
    Self::Target: Message + Sized

unsafe fn mapTableWithStrongToStrongObjects() -> id where
    Self::Target: Message + Sized

unsafe fn mapTableWithWeakToStrongObjects() -> id where
    Self::Target: Message + Sized

unsafe fn mapTableWithStrongToWeakObjects() -> id where
    Self::Target: Message + Sized

unsafe fn mapTableWithWeakToWeakObjects() -> id where
    Self::Target: Message + Sized

unsafe fn strongToStrongObjectsMapTable() -> NSMapTable where
    Self::Target: Message + Sized

unsafe fn weakToStrongObjectsMapTable() -> NSMapTable where
    Self::Target: Message + Sized

unsafe fn strongToWeakObjectsMapTable() -> NSMapTable where
    Self::Target: Message + Sized

unsafe fn weakToWeakObjectsMapTable() -> NSMapTable where
    Self::Target: Message + Sized

Loading content...

Implementors

impl<KeyType: 'static, ObjectType: 'static> INSMapTable<KeyType, ObjectType> for NSMapTable[src]

Loading content...