[][src]Trait uikit_sys::IIOSurface

pub trait IIOSurface: Sized + Deref {
    unsafe fn initWithProperties_(
        self,
        properties: NSDictionary
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn lockWithOptions_seed_(
        self,
        options: IOSurfaceLockOptions,
        seed: *mut u32
    ) -> kern_return_t
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unlockWithOptions_seed_(
        self,
        options: IOSurfaceLockOptions,
        seed: *mut u32
    ) -> kern_return_t
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn widthOfPlaneAtIndex_(self, planeIndex: NSUInteger) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn heightOfPlaneAtIndex_(self, planeIndex: NSUInteger) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn bytesPerRowOfPlaneAtIndex_(
        self,
        planeIndex: NSUInteger
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn bytesPerElementOfPlaneAtIndex_(
        self,
        planeIndex: NSUInteger
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn elementWidthOfPlaneAtIndex_(
        self,
        planeIndex: NSUInteger
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn elementHeightOfPlaneAtIndex_(
        self,
        planeIndex: NSUInteger
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn baseAddressOfPlaneAtIndex_(
        self,
        planeIndex: NSUInteger
    ) -> *mut c_void
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAttachment_forKey_(self, anObject: id, key: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn attachmentForKey_(self, key: NSString) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeAttachmentForKey_(self, key: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAllAttachments_(self, dict: NSDictionary)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allAttachments(self) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeAllAttachments(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn incrementUseCount(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decrementUseCount(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPurgeable_oldState_(
        self,
        newState: IOSurfacePurgeabilityState,
        oldState: *mut IOSurfacePurgeabilityState
    ) -> kern_return_t
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allocationSize(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn width(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn height(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn baseAddress(self) -> *mut c_void
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn pixelFormat(self) -> OSType
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn bytesPerRow(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn bytesPerElement(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn elementWidth(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn elementHeight(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn seed(self) -> u32
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn planeCount(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isInUse(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localUseCount(self) -> i32
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn allowsPixelSizeCasting(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithProperties_(self, properties: NSDictionary) -> instancetype where
    Self::Target: Message + Sized

unsafe fn lockWithOptions_seed_(
    self,
    options: IOSurfaceLockOptions,
    seed: *mut u32
) -> kern_return_t where
    Self::Target: Message + Sized

unsafe fn unlockWithOptions_seed_(
    self,
    options: IOSurfaceLockOptions,
    seed: *mut u32
) -> kern_return_t where
    Self::Target: Message + Sized

unsafe fn widthOfPlaneAtIndex_(self, planeIndex: NSUInteger) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn heightOfPlaneAtIndex_(self, planeIndex: NSUInteger) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn bytesPerRowOfPlaneAtIndex_(self, planeIndex: NSUInteger) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn bytesPerElementOfPlaneAtIndex_(
    self,
    planeIndex: NSUInteger
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn elementWidthOfPlaneAtIndex_(self, planeIndex: NSUInteger) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn elementHeightOfPlaneAtIndex_(
    self,
    planeIndex: NSUInteger
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn baseAddressOfPlaneAtIndex_(
    self,
    planeIndex: NSUInteger
) -> *mut c_void where
    Self::Target: Message + Sized

unsafe fn setAttachment_forKey_(self, anObject: id, key: NSString) where
    Self::Target: Message + Sized

unsafe fn attachmentForKey_(self, key: NSString) -> id where
    Self::Target: Message + Sized

unsafe fn removeAttachmentForKey_(self, key: NSString) where
    Self::Target: Message + Sized

unsafe fn setAllAttachments_(self, dict: NSDictionary) where
    Self::Target: Message + Sized

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

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

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

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

unsafe fn setPurgeable_oldState_(
    self,
    newState: IOSurfacePurgeabilityState,
    oldState: *mut IOSurfacePurgeabilityState
) -> kern_return_t where
    Self::Target: Message + Sized

unsafe fn allocationSize(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn width(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn height(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn baseAddress(self) -> *mut c_void where
    Self::Target: Message + Sized

unsafe fn pixelFormat(self) -> OSType where
    Self::Target: Message + Sized

unsafe fn bytesPerRow(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn bytesPerElement(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn elementWidth(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn elementHeight(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn seed(self) -> u32 where
    Self::Target: Message + Sized

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

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

unsafe fn localUseCount(self) -> i32 where
    Self::Target: Message + Sized

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

Loading content...

Implementors

impl IIOSurface for IOSurface[src]

Loading content...