[][src]Trait uikit_sys::IUIBarItem

pub trait IUIBarItem: Sized + Deref {
    unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTitleTextAttributes_forState_(
        self,
        attributes: NSDictionary,
        state: UIControlState
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn titleTextAttributesForState_(
        self,
        state: UIControlState
    ) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isEnabled(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setEnabled_(self, enabled: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn title(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTitle_(self, title: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn image(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setImage_(self, image: UIImage)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn landscapeImagePhone(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setLandscapeImagePhone_(self, landscapeImagePhone: UIImage)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn largeContentSizeImage(self) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setLargeContentSizeImage_(self, largeContentSizeImage: UIImage)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn imageInsets(self) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setImageInsets_(self, imageInsets: UIEdgeInsets)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn landscapeImagePhoneInsets(self) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setLandscapeImagePhoneInsets_(
        self,
        landscapeImagePhoneInsets: UIEdgeInsets
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn largeContentSizeImageInsets(self) -> UIEdgeInsets
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setLargeContentSizeImageInsets_(
        self,
        largeContentSizeImageInsets: UIEdgeInsets
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn tag(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setTag_(self, tag: NSInteger)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCoder_(self, coder: NSCoder) -> instancetype where
    Self::Target: Message + Sized

unsafe fn setTitleTextAttributes_forState_(
    self,
    attributes: NSDictionary,
    state: UIControlState
) where
    Self::Target: Message + Sized

unsafe fn titleTextAttributesForState_(
    self,
    state: UIControlState
) -> NSDictionary where
    Self::Target: Message + Sized

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

unsafe fn setEnabled_(self, enabled: BOOL) where
    Self::Target: Message + Sized

unsafe fn title(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn setTitle_(self, title: NSString) where
    Self::Target: Message + Sized

unsafe fn image(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setImage_(self, image: UIImage) where
    Self::Target: Message + Sized

unsafe fn landscapeImagePhone(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setLandscapeImagePhone_(self, landscapeImagePhone: UIImage) where
    Self::Target: Message + Sized

unsafe fn largeContentSizeImage(self) -> UIImage where
    Self::Target: Message + Sized

unsafe fn setLargeContentSizeImage_(self, largeContentSizeImage: UIImage) where
    Self::Target: Message + Sized

unsafe fn imageInsets(self) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn setImageInsets_(self, imageInsets: UIEdgeInsets) where
    Self::Target: Message + Sized

unsafe fn landscapeImagePhoneInsets(self) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn setLandscapeImagePhoneInsets_(
    self,
    landscapeImagePhoneInsets: UIEdgeInsets
) where
    Self::Target: Message + Sized

unsafe fn largeContentSizeImageInsets(self) -> UIEdgeInsets where
    Self::Target: Message + Sized

unsafe fn setLargeContentSizeImageInsets_(
    self,
    largeContentSizeImageInsets: UIEdgeInsets
) where
    Self::Target: Message + Sized

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

unsafe fn setTag_(self, tag: NSInteger) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUIBarItem for UIBarButtonItem[src]

impl IUIBarItem for UIBarItem[src]

impl IUIBarItem for UITabBarItem[src]

Loading content...