[][src]Trait uikit_sys::IUIKeyCommand

pub trait IUIKeyCommand: 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 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 discoverabilityTitle(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDiscoverabilityTitle_(self, discoverabilityTitle: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn action(self) -> Sel
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn input(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn modifierFlags(self) -> UIKeyModifierFlags
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn propertyList(self) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn attributes(self) -> UIMenuElementAttributes
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAttributes_(self, attributes: UIMenuElementAttributes)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn state(self) -> UIMenuElementState
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setState_(self, state: UIMenuElementState)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn alternates(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn commandWithTitle_image_action_input_modifierFlags_propertyList_(
        title: NSString,
        image: UIImage,
        action: Sel,
        input: NSString,
        modifierFlags: UIKeyModifierFlags,
        propertyList: id
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn commandWithTitle_image_action_input_modifierFlags_propertyList_alternates_(
        title: NSString,
        image: UIImage,
        action: Sel,
        input: NSString,
        modifierFlags: UIKeyModifierFlags,
        propertyList: id,
        alternates: NSArray
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn keyCommandWithInput_modifierFlags_action_(
        input: NSString,
        modifierFlags: UIKeyModifierFlags,
        action: Sel
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn keyCommandWithInput_modifierFlags_action_discoverabilityTitle_(
        input: NSString,
        modifierFlags: UIKeyModifierFlags,
        action: Sel,
        discoverabilityTitle: NSString
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn commandWithTitle_image_action_propertyList_(
        title: NSString,
        image: UIImage,
        action: Sel,
        propertyList: id
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn commandWithTitle_image_action_propertyList_alternates_(
        title: NSString,
        image: UIImage,
        action: Sel,
        propertyList: id,
        alternates: NSArray
    ) -> instancetype
    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 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 discoverabilityTitle(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn setDiscoverabilityTitle_(self, discoverabilityTitle: NSString) where
    Self::Target: Message + Sized

unsafe fn action(self) -> Sel where
    Self::Target: Message + Sized

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

unsafe fn modifierFlags(self) -> UIKeyModifierFlags where
    Self::Target: Message + Sized

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

unsafe fn attributes(self) -> UIMenuElementAttributes where
    Self::Target: Message + Sized

unsafe fn setAttributes_(self, attributes: UIMenuElementAttributes) where
    Self::Target: Message + Sized

unsafe fn state(self) -> UIMenuElementState where
    Self::Target: Message + Sized

unsafe fn setState_(self, state: UIMenuElementState) where
    Self::Target: Message + Sized

unsafe fn alternates(self) -> NSArray where
    Self::Target: Message + Sized

unsafe fn commandWithTitle_image_action_input_modifierFlags_propertyList_(
    title: NSString,
    image: UIImage,
    action: Sel,
    input: NSString,
    modifierFlags: UIKeyModifierFlags,
    propertyList: id
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn commandWithTitle_image_action_input_modifierFlags_propertyList_alternates_(
    title: NSString,
    image: UIImage,
    action: Sel,
    input: NSString,
    modifierFlags: UIKeyModifierFlags,
    propertyList: id,
    alternates: NSArray
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn keyCommandWithInput_modifierFlags_action_(
    input: NSString,
    modifierFlags: UIKeyModifierFlags,
    action: Sel
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn keyCommandWithInput_modifierFlags_action_discoverabilityTitle_(
    input: NSString,
    modifierFlags: UIKeyModifierFlags,
    action: Sel,
    discoverabilityTitle: NSString
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn commandWithTitle_image_action_propertyList_(
    title: NSString,
    image: UIImage,
    action: Sel,
    propertyList: id
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn commandWithTitle_image_action_propertyList_alternates_(
    title: NSString,
    image: UIImage,
    action: Sel,
    propertyList: id,
    alternates: NSArray
) -> instancetype where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUIKeyCommand for UIKeyCommand[src]

Loading content...