[][src]Trait uikit_sys::INSPointerFunctions

pub trait INSPointerFunctions: Sized + Deref {
    unsafe fn initWithOptions_(
        self,
        options: NSPointerFunctionsOptions
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hashFunction(
        self
    ) -> Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>) -> NSUInteger>
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setHashFunction_(
        self,
        hashFunction: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>) -> NSUInteger>
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isEqualFunction(
        self
    ) -> Option<unsafe extern "C" fn(arg1: *const c_void, arg2: *const c_void, arg3: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>) -> BOOL>
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setIsEqualFunction_(
        self,
        isEqualFunction: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: *const c_void, arg3: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>) -> BOOL>
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sizeFunction(
        self
    ) -> Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSizeFunction_(
        self,
        sizeFunction: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn descriptionFunction(
        self
    ) -> Option<unsafe extern "C" fn(arg1: *const c_void) -> NSString>
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDescriptionFunction_(
        self,
        descriptionFunction: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSString>
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn relinquishFunction(
        self
    ) -> Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>)>
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setRelinquishFunction_(
        self,
        relinquishFunction: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>)>
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn acquireFunction(
        self
    ) -> Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>, arg3: BOOL) -> *mut c_void>
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAcquireFunction_(
        self,
        acquireFunction: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>, arg3: BOOL) -> *mut c_void>
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn usesStrongWriteBarrier(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setUsesStrongWriteBarrier_(self, usesStrongWriteBarrier: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn usesWeakReadAndWriteBarriers(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setUsesWeakReadAndWriteBarriers_(
        self,
        usesWeakReadAndWriteBarriers: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn pointerFunctionsWithOptions_(
        options: NSPointerFunctionsOptions
    ) -> NSPointerFunctions
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithOptions_(
    self,
    options: NSPointerFunctionsOptions
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn hashFunction(
    self
) -> Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>) -> NSUInteger> where
    Self::Target: Message + Sized

unsafe fn setHashFunction_(
    self,
    hashFunction: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>) -> NSUInteger>
) where
    Self::Target: Message + Sized

unsafe fn isEqualFunction(
    self
) -> Option<unsafe extern "C" fn(arg1: *const c_void, arg2: *const c_void, arg3: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>) -> BOOL> where
    Self::Target: Message + Sized

unsafe fn setIsEqualFunction_(
    self,
    isEqualFunction: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: *const c_void, arg3: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>) -> BOOL>
) where
    Self::Target: Message + Sized

unsafe fn sizeFunction(
    self
) -> Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger> where
    Self::Target: Message + Sized

unsafe fn setSizeFunction_(
    self,
    sizeFunction: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>
) where
    Self::Target: Message + Sized

unsafe fn descriptionFunction(
    self
) -> Option<unsafe extern "C" fn(arg1: *const c_void) -> NSString> where
    Self::Target: Message + Sized

unsafe fn setDescriptionFunction_(
    self,
    descriptionFunction: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSString>
) where
    Self::Target: Message + Sized

unsafe fn relinquishFunction(
    self
) -> Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>)> where
    Self::Target: Message + Sized

unsafe fn setRelinquishFunction_(
    self,
    relinquishFunction: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>)>
) where
    Self::Target: Message + Sized

unsafe fn acquireFunction(
    self
) -> Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>, arg3: BOOL) -> *mut c_void> where
    Self::Target: Message + Sized

unsafe fn setAcquireFunction_(
    self,
    acquireFunction: Option<unsafe extern "C" fn(arg1: *const c_void, arg2: Option<unsafe extern "C" fn(arg1: *const c_void) -> NSUInteger>, arg3: BOOL) -> *mut c_void>
) where
    Self::Target: Message + Sized

unsafe fn usesStrongWriteBarrier(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setUsesStrongWriteBarrier_(self, usesStrongWriteBarrier: BOOL) where
    Self::Target: Message + Sized

unsafe fn usesWeakReadAndWriteBarriers(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setUsesWeakReadAndWriteBarriers_(
    self,
    usesWeakReadAndWriteBarriers: BOOL
) where
    Self::Target: Message + Sized

unsafe fn pointerFunctionsWithOptions_(
    options: NSPointerFunctionsOptions
) -> NSPointerFunctions where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSPointerFunctions for NSPointerFunctions[src]

Loading content...