Struct objc2_app_kit::NSButtonCell

source ·
#[repr(C)]
pub struct NSButtonCell { /* private fields */ }
Available on crate features NSActionCell and NSButtonCell and NSCell only.

Implementations§

source§

impl NSButtonCell

source

pub unsafe fn initTextCell( this: Allocated<Self>, string: &NSString ) -> Retained<Self>

source

pub unsafe fn initImageCell( this: Allocated<Self>, image: Option<&NSImage> ) -> Retained<Self>

Available on crate feature NSImage only.
source

pub unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Retained<Self>

source

pub unsafe fn bezelStyle(&self) -> NSBezelStyle

source

pub unsafe fn setBezelStyle(&self, bezel_style: NSBezelStyle)

source

pub unsafe fn setButtonType(&self, type: NSButtonType)

source

pub unsafe fn highlightsBy(&self) -> NSCellStyleMask

source

pub unsafe fn setHighlightsBy(&self, highlights_by: NSCellStyleMask)

source

pub unsafe fn showsStateBy(&self) -> NSCellStyleMask

source

pub unsafe fn setShowsStateBy(&self, shows_state_by: NSCellStyleMask)

source

pub unsafe fn title(&self) -> Retained<NSString>

source

pub unsafe fn setTitle(&self, title: Option<&NSString>)

source

pub unsafe fn attributedTitle(&self) -> Retained<NSAttributedString>

source

pub unsafe fn setAttributedTitle(&self, attributed_title: &NSAttributedString)

source

pub unsafe fn alternateTitle(&self) -> Retained<NSString>

source

pub unsafe fn setAlternateTitle(&self, alternate_title: &NSString)

source

pub unsafe fn attributedAlternateTitle(&self) -> Retained<NSAttributedString>

source

pub unsafe fn setAttributedAlternateTitle( &self, attributed_alternate_title: &NSAttributedString )

source

pub unsafe fn alternateImage(&self) -> Option<Retained<NSImage>>

Available on crate feature NSImage only.
source

pub unsafe fn setAlternateImage(&self, alternate_image: Option<&NSImage>)

Available on crate feature NSImage only.
source

pub unsafe fn imagePosition(&self) -> NSCellImagePosition

source

pub unsafe fn setImagePosition(&self, image_position: NSCellImagePosition)

source

pub unsafe fn imageScaling(&self) -> NSImageScaling

source

pub unsafe fn setImageScaling(&self, image_scaling: NSImageScaling)

source

pub unsafe fn keyEquivalent(&self) -> Retained<NSString>

source

pub unsafe fn setKeyEquivalent(&self, key_equivalent: &NSString)

source

pub unsafe fn keyEquivalentModifierMask(&self) -> NSEventModifierFlags

Available on crate feature NSEvent only.
source

pub unsafe fn setKeyEquivalentModifierMask( &self, key_equivalent_modifier_mask: NSEventModifierFlags )

Available on crate feature NSEvent only.
source

pub unsafe fn isTransparent(&self) -> bool

source

pub unsafe fn setTransparent(&self, transparent: bool)

source

pub unsafe fn isOpaque(&self) -> bool

source

pub unsafe fn imageDimsWhenDisabled(&self) -> bool

source

pub unsafe fn setImageDimsWhenDisabled(&self, image_dims_when_disabled: bool)

source

pub unsafe fn showsBorderOnlyWhileMouseInside(&self) -> bool

source

pub unsafe fn setShowsBorderOnlyWhileMouseInside( &self, shows_border_only_while_mouse_inside: bool )

source

pub unsafe fn sound(&self) -> Option<Retained<NSSound>>

Available on crate feature NSSound only.
source

pub unsafe fn setSound(&self, sound: Option<&NSSound>)

Available on crate feature NSSound only.
source

pub unsafe fn backgroundColor(&self) -> Option<Retained<NSColor>>

Available on crate feature NSColor only.
source

pub unsafe fn setBackgroundColor(&self, background_color: Option<&NSColor>)

Available on crate feature NSColor only.
source

pub unsafe fn setPeriodicDelay_interval( &self, delay: c_float, interval: c_float )

source

pub unsafe fn getPeriodicDelay_interval( &self, delay: NonNull<c_float>, interval: NonNull<c_float> )

source

pub unsafe fn performClick(&self, sender: Option<&AnyObject>)

source

pub unsafe fn mouseEntered(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn mouseExited(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn drawBezelWithFrame_inView( &self, frame: NSRect, control_view: &NSView )

Available on crate features NSResponder and NSView only.
source

pub unsafe fn drawImage_withFrame_inView( &self, image: &NSImage, frame: NSRect, control_view: &NSView )

Available on crate features NSImage and NSResponder and NSView only.
source

pub unsafe fn drawTitle_withFrame_inView( &self, title: &NSAttributedString, frame: NSRect, control_view: &NSView ) -> NSRect

Available on crate features NSResponder and NSView only.
source§

impl NSButtonCell

Methods declared on superclass NSCell

source

pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>

source§

impl NSButtonCell

Methods declared on superclass NSObject

source

pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>

source§

impl NSButtonCell

NSDeprecated

source

pub unsafe fn gradientType(&self) -> NSGradientType

👎Deprecated: The gradientType property is unused, and setting it has no effect.
source

pub unsafe fn setGradientType(&self, gradient_type: NSGradientType)

👎Deprecated: The gradientType property is unused, and setting it has no effect.
source

pub unsafe fn setTitleWithMnemonic( &self, string_with_ampersand: Option<&NSString> )

👎Deprecated: Mnemonics are not used on macOS. Set the title property directly instead.
source

pub unsafe fn setAlternateTitleWithMnemonic( &self, string_with_ampersand: Option<&NSString> )

👎Deprecated: Mnemonics are not used on macOS. Set the alternateTitle property directly instead.
source

pub unsafe fn setAlternateMnemonicLocation(&self, location: NSUInteger)

👎Deprecated: Mnemonics are not used on macOS. Calling this method has no effect.
source

pub unsafe fn alternateMnemonicLocation(&self) -> NSUInteger

👎Deprecated: Mnemonics are not used on macOS. This property always returns NSNotFound.
source

pub unsafe fn alternateMnemonic(&self) -> Option<Retained<NSString>>

👎Deprecated: Mnemonics are not used on macOS. This property always returns an empty string.
source

pub unsafe fn keyEquivalentFont(&self) -> Option<Retained<NSFont>>

👎Deprecated: The keyEquivalentFont property is no longer used. It always returns the NSButtonCell’s font, and setting it has no effect.
Available on crate feature NSFont only.
source

pub unsafe fn setKeyEquivalentFont(&self, key_equivalent_font: Option<&NSFont>)

👎Deprecated: The keyEquivalentFont property is no longer used. It always returns the NSButtonCell’s font, and setting it has no effect.
Available on crate feature NSFont only.
source

pub unsafe fn setKeyEquivalentFont_size( &self, font_name: &NSString, font_size: CGFloat )

👎Deprecated: The keyEquivalentFont property is no longer used. Setting it has no effect.

Methods from Deref<Target = NSActionCell>§

source

pub unsafe fn target(&self) -> Option<Retained<AnyObject>>

source

pub unsafe fn setTarget(&self, target: Option<&AnyObject>)

source

pub unsafe fn action(&self) -> Option<Sel>

source

pub unsafe fn setAction(&self, action: Option<Sel>)

source

pub unsafe fn tag(&self) -> NSInteger

source

pub unsafe fn setTag(&self, tag: NSInteger)

Methods from Deref<Target = NSCell>§

source

pub unsafe fn controlView(&self) -> Option<Retained<NSView>>

Available on crate features NSResponder and NSView only.
source

pub unsafe fn setControlView(&self, control_view: Option<&NSView>)

Available on crate features NSResponder and NSView only.
source

pub unsafe fn type(&self) -> NSCellType

source

pub unsafe fn setType(&self, type: NSCellType)

source

pub unsafe fn state(&self) -> NSControlStateValue

source

pub unsafe fn setState(&self, state: NSControlStateValue)

source

pub unsafe fn target(&self) -> Option<Retained<AnyObject>>

source

pub unsafe fn setTarget(&self, target: Option<&AnyObject>)

source

pub unsafe fn action(&self) -> Option<Sel>

source

pub unsafe fn setAction(&self, action: Option<Sel>)

source

pub unsafe fn tag(&self) -> NSInteger

source

pub unsafe fn setTag(&self, tag: NSInteger)

source

pub unsafe fn title(&self) -> Retained<NSString>

source

pub unsafe fn setTitle(&self, title: &NSString)

source

pub unsafe fn isOpaque(&self) -> bool

source

pub unsafe fn isEnabled(&self) -> bool

source

pub unsafe fn setEnabled(&self, enabled: bool)

source

pub unsafe fn sendActionOn(&self, mask: NSEventMask) -> NSInteger

Available on crate feature NSEvent only.
source

pub unsafe fn isContinuous(&self) -> bool

source

pub unsafe fn setContinuous(&self, continuous: bool)

source

pub unsafe fn isEditable(&self) -> bool

source

pub unsafe fn setEditable(&self, editable: bool)

source

pub unsafe fn isSelectable(&self) -> bool

source

pub unsafe fn setSelectable(&self, selectable: bool)

source

pub unsafe fn isBordered(&self) -> bool

source

pub unsafe fn setBordered(&self, bordered: bool)

source

pub unsafe fn isBezeled(&self) -> bool

source

pub unsafe fn setBezeled(&self, bezeled: bool)

source

pub unsafe fn isScrollable(&self) -> bool

source

pub unsafe fn setScrollable(&self, scrollable: bool)

source

pub unsafe fn isHighlighted(&self) -> bool

source

pub unsafe fn setHighlighted(&self, highlighted: bool)

source

pub unsafe fn alignment(&self) -> NSTextAlignment

Available on crate feature NSText only.
source

pub unsafe fn setAlignment(&self, alignment: NSTextAlignment)

Available on crate feature NSText only.
source

pub unsafe fn wraps(&self) -> bool

source

pub unsafe fn setWraps(&self, wraps: bool)

source

pub unsafe fn font(&self) -> Option<Retained<NSFont>>

Available on crate feature NSFont only.
source

pub unsafe fn setFont(&self, font: Option<&NSFont>)

Available on crate feature NSFont only.
source

pub unsafe fn keyEquivalent(&self) -> Retained<NSString>

source

pub unsafe fn formatter(&self) -> Option<Retained<NSFormatter>>

source

pub unsafe fn setFormatter(&self, formatter: Option<&NSFormatter>)

source

pub unsafe fn objectValue(&self) -> Option<Retained<AnyObject>>

source

pub unsafe fn setObjectValue(&self, object_value: Option<&AnyObject>)

source

pub unsafe fn hasValidObjectValue(&self) -> bool

source

pub unsafe fn stringValue(&self) -> Retained<NSString>

source

pub unsafe fn setStringValue(&self, string_value: &NSString)

source

pub unsafe fn compare(&self, other_cell: &AnyObject) -> NSComparisonResult

source

pub unsafe fn intValue(&self) -> c_int

source

pub unsafe fn setIntValue(&self, int_value: c_int)

source

pub unsafe fn floatValue(&self) -> c_float

source

pub unsafe fn setFloatValue(&self, float_value: c_float)

source

pub unsafe fn doubleValue(&self) -> c_double

source

pub unsafe fn setDoubleValue(&self, double_value: c_double)

source

pub unsafe fn integerValue(&self) -> NSInteger

source

pub unsafe fn setIntegerValue(&self, integer_value: NSInteger)

source

pub unsafe fn takeIntValueFrom(&self, sender: Option<&AnyObject>)

source

pub unsafe fn takeFloatValueFrom(&self, sender: Option<&AnyObject>)

source

pub unsafe fn takeDoubleValueFrom(&self, sender: Option<&AnyObject>)

source

pub unsafe fn takeStringValueFrom(&self, sender: Option<&AnyObject>)

source

pub unsafe fn takeObjectValueFrom(&self, sender: Option<&AnyObject>)

source

pub unsafe fn takeIntegerValueFrom(&self, sender: Option<&AnyObject>)

source

pub unsafe fn image(&self) -> Option<Retained<NSImage>>

Available on crate feature NSImage only.
source

pub unsafe fn setImage(&self, image: Option<&NSImage>)

Available on crate feature NSImage only.
source

pub unsafe fn controlSize(&self) -> NSControlSize

source

pub unsafe fn setControlSize(&self, control_size: NSControlSize)

source

pub unsafe fn representedObject(&self) -> Option<Retained<AnyObject>>

source

pub unsafe fn setRepresentedObject( &self, represented_object: Option<&AnyObject> )

source

pub unsafe fn cellAttribute(&self, parameter: NSCellAttribute) -> NSInteger

source

pub unsafe fn setCellAttribute_to( &self, parameter: NSCellAttribute, value: NSInteger )

source

pub unsafe fn imageRectForBounds(&self, rect: NSRect) -> NSRect

source

pub unsafe fn titleRectForBounds(&self, rect: NSRect) -> NSRect

source

pub unsafe fn drawingRectForBounds(&self, rect: NSRect) -> NSRect

source

pub unsafe fn cellSize(&self) -> NSSize

source

pub unsafe fn cellSizeForBounds(&self, rect: NSRect) -> NSSize

source

pub unsafe fn highlightColorWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView ) -> Option<Retained<NSColor>>

Available on crate features NSColor and NSResponder and NSView only.
source

pub unsafe fn calcDrawInfo(&self, rect: NSRect)

source

pub unsafe fn setUpFieldEditorAttributes( &self, text_obj: &NSText ) -> Retained<NSText>

Available on crate features NSResponder and NSText and NSView only.
source

pub unsafe fn drawInteriorWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView )

Available on crate features NSResponder and NSView only.
source

pub unsafe fn drawWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView )

Available on crate features NSResponder and NSView only.
source

pub unsafe fn highlight_withFrame_inView( &self, flag: bool, cell_frame: NSRect, control_view: &NSView )

Available on crate features NSResponder and NSView only.
source

pub unsafe fn mouseDownFlags(&self) -> NSInteger

source

pub unsafe fn getPeriodicDelay_interval( &self, delay: NonNull<c_float>, interval: NonNull<c_float> )

source

pub unsafe fn startTrackingAt_inView( &self, start_point: NSPoint, control_view: &NSView ) -> bool

Available on crate features NSResponder and NSView only.
source

pub unsafe fn continueTracking_at_inView( &self, last_point: NSPoint, current_point: NSPoint, control_view: &NSView ) -> bool

Available on crate features NSResponder and NSView only.
source

pub unsafe fn stopTracking_at_inView_mouseIsUp( &self, last_point: NSPoint, stop_point: NSPoint, control_view: &NSView, flag: bool )

Available on crate features NSResponder and NSView only.
source

pub unsafe fn trackMouse_inRect_ofView_untilMouseUp( &self, event: &NSEvent, cell_frame: NSRect, control_view: &NSView, flag: bool ) -> bool

Available on crate features NSEvent and NSResponder and NSView only.
source

pub unsafe fn editWithFrame_inView_editor_delegate_event( &self, rect: NSRect, control_view: &NSView, text_obj: &NSText, delegate: Option<&AnyObject>, event: Option<&NSEvent> )

Available on crate features NSEvent and NSResponder and NSText and NSView only.
source

pub unsafe fn selectWithFrame_inView_editor_delegate_start_length( &self, rect: NSRect, control_view: &NSView, text_obj: &NSText, delegate: Option<&AnyObject>, sel_start: NSInteger, sel_length: NSInteger )

Available on crate features NSResponder and NSText and NSView only.
source

pub unsafe fn endEditing(&self, text_obj: &NSText)

Available on crate features NSResponder and NSText and NSView only.
source

pub unsafe fn resetCursorRect_inView( &self, cell_frame: NSRect, control_view: &NSView )

Available on crate features NSResponder and NSView only.
source

pub unsafe fn menu(&self) -> Option<Retained<NSMenu>>

Available on crate feature NSMenu only.
source

pub unsafe fn setMenu(&self, menu: Option<&NSMenu>)

Available on crate feature NSMenu only.
source

pub unsafe fn menuForEvent_inRect_ofView( &self, event: &NSEvent, cell_frame: NSRect, view: &NSView ) -> Option<Retained<NSMenu>>

Available on crate features NSEvent and NSMenu and NSResponder and NSView only.
source

pub unsafe fn sendsActionOnEndEditing(&self) -> bool

source

pub unsafe fn setSendsActionOnEndEditing( &self, sends_action_on_end_editing: bool )

source

pub unsafe fn baseWritingDirection(&self) -> NSWritingDirection

Available on crate feature NSText only.
source

pub unsafe fn setBaseWritingDirection( &self, base_writing_direction: NSWritingDirection )

Available on crate feature NSText only.
source

pub unsafe fn lineBreakMode(&self) -> NSLineBreakMode

Available on crate feature NSParagraphStyle only.
source

pub unsafe fn setLineBreakMode(&self, line_break_mode: NSLineBreakMode)

Available on crate feature NSParagraphStyle only.
source

pub unsafe fn allowsUndo(&self) -> bool

source

pub unsafe fn setAllowsUndo(&self, allows_undo: bool)

source

pub unsafe fn truncatesLastVisibleLine(&self) -> bool

source

pub unsafe fn setTruncatesLastVisibleLine( &self, truncates_last_visible_line: bool )

source

pub unsafe fn userInterfaceLayoutDirection( &self ) -> NSUserInterfaceLayoutDirection

Available on crate feature NSUserInterfaceLayout only.
source

pub unsafe fn setUserInterfaceLayoutDirection( &self, user_interface_layout_direction: NSUserInterfaceLayoutDirection )

Available on crate feature NSUserInterfaceLayout only.
source

pub unsafe fn fieldEditorForView( &self, control_view: &NSView ) -> Option<Retained<NSTextView>>

Available on crate features NSResponder and NSText and NSTextView and NSView only.
source

pub unsafe fn usesSingleLineMode(&self) -> bool

source

pub unsafe fn setUsesSingleLineMode(&self, uses_single_line_mode: bool)

source

pub unsafe fn draggingImageComponentsWithFrame_inView( &self, frame: NSRect, view: &NSView ) -> Retained<NSArray<NSDraggingImageComponent>>

Available on crate features NSDraggingItem and NSResponder and NSView only.
source

pub unsafe fn refusesFirstResponder(&self) -> bool

source

pub unsafe fn setRefusesFirstResponder(&self, refuses_first_responder: bool)

source

pub unsafe fn acceptsFirstResponder(&self) -> bool

source

pub unsafe fn showsFirstResponder(&self) -> bool

source

pub unsafe fn setShowsFirstResponder(&self, shows_first_responder: bool)

source

pub unsafe fn performClick(&self, sender: Option<&AnyObject>)

source

pub unsafe fn focusRingType(&self) -> NSFocusRingType

Available on crate feature NSGraphics only.
source

pub unsafe fn setFocusRingType(&self, focus_ring_type: NSFocusRingType)

Available on crate feature NSGraphics only.
source

pub unsafe fn drawFocusRingMaskWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView )

Available on crate features NSResponder and NSView only.
source

pub unsafe fn focusRingMaskBoundsForFrame_inView( &self, cell_frame: NSRect, control_view: &NSView ) -> NSRect

Available on crate features NSResponder and NSView only.
source

pub unsafe fn wantsNotificationForMarkedText(&self) -> bool

source

pub unsafe fn attributedStringValue(&self) -> Retained<NSAttributedString>

source

pub unsafe fn setAttributedStringValue( &self, attributed_string_value: &NSAttributedString )

source

pub unsafe fn allowsEditingTextAttributes(&self) -> bool

source

pub unsafe fn setAllowsEditingTextAttributes( &self, allows_editing_text_attributes: bool )

source

pub unsafe fn importsGraphics(&self) -> bool

source

pub unsafe fn setImportsGraphics(&self, imports_graphics: bool)

source

pub unsafe fn allowsMixedState(&self) -> bool

source

pub unsafe fn setAllowsMixedState(&self, allows_mixed_state: bool)

source

pub unsafe fn nextState(&self) -> NSInteger

source

pub unsafe fn setNextState(&self)

source

pub unsafe fn hitTestForEvent_inRect_ofView( &self, event: &NSEvent, cell_frame: NSRect, control_view: &NSView ) -> NSCellHitResult

Available on crate features NSEvent and NSResponder and NSView only.
source

pub unsafe fn expansionFrameWithFrame_inView( &self, cell_frame: NSRect, view: &NSView ) -> NSRect

Available on crate features NSResponder and NSView only.
source

pub unsafe fn drawWithExpansionFrame_inView( &self, cell_frame: NSRect, view: &NSView )

Available on crate features NSResponder and NSView only.
source

pub unsafe fn backgroundStyle(&self) -> NSBackgroundStyle

source

pub unsafe fn setBackgroundStyle(&self, background_style: NSBackgroundStyle)

source

pub unsafe fn interiorBackgroundStyle(&self) -> NSBackgroundStyle

source

pub unsafe fn controlTint(&self) -> NSControlTint

👎Deprecated: The controlTint property is not respected on 10.14 and later. For custom cells, use +[NSColor controlAccentColor] to respect the user’s preferred accent color when drawing.
source

pub unsafe fn setControlTint(&self, control_tint: NSControlTint)

👎Deprecated: The controlTint property is not respected on 10.14 and later. For custom cells, use +[NSColor controlAccentColor] to respect the user’s preferred accent color when drawing.
source

pub unsafe fn entryType(&self) -> NSInteger

👎Deprecated
source

pub unsafe fn setEntryType(&self, type: NSInteger)

👎Deprecated
source

pub unsafe fn isEntryAcceptable(&self, string: &NSString) -> bool

👎Deprecated
source

pub unsafe fn setFloatingPointFormat_left_right( &self, auto_range: bool, left_digits: NSUInteger, right_digits: NSUInteger )

👎Deprecated
source

pub unsafe fn setMnemonicLocation(&self, location: NSUInteger)

👎Deprecated
source

pub unsafe fn mnemonicLocation(&self) -> NSUInteger

👎Deprecated
source

pub unsafe fn mnemonic(&self) -> Retained<NSString>

👎Deprecated
source

pub unsafe fn setTitleWithMnemonic(&self, string_with_ampersand: &NSString)

👎Deprecated

Methods from Deref<Target = NSObject>§

source

pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !

Handle messages the object doesn’t recognize.

See Apple’s documentation for details.

Methods from Deref<Target = AnyObject>§

source

pub fn class(&self) -> &'static AnyClass

Available on crate feature NSAccessibilityConstants only.

Dynamically find the class of this object.

§Example

Check that an instance of NSObject has the precise class NSObject.

use objc2::ClassType;
use objc2::runtime::NSObject;

let obj = NSObject::new();
assert_eq!(obj.class(), NSObject::class());
source

pub unsafe fn get_ivar<T>(&self, name: &str) -> &T
where T: Encode,

👎Deprecated: this is difficult to use correctly, use Ivar::load instead.
Available on crate feature NSAccessibilityConstants only.

Use Ivar::load instead.

§Safety

The object must have an instance variable with the given name, and it must be of type T.

See Ivar::load_ptr for details surrounding this.

source

pub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut T
where T: Encode,

👎Deprecated: this is difficult to use correctly, use Ivar::load_mut instead.
Available on crate feature NSAccessibilityConstants only.

Use Ivar::load_mut instead.

§Safety

The object must have an instance variable with the given name, and it must be of type T.

See Ivar::load_ptr for details surrounding this.

Trait Implementations§

source§

impl AsMut<AnyObject> for NSButtonCell

source§

fn as_mut(&mut self) -> &mut AnyObject

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSActionCell> for NSButtonCell

source§

fn as_mut(&mut self) -> &mut NSActionCell

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSButtonCell> for NSButtonCell

source§

fn as_mut(&mut self) -> &mut Self

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSButtonCell> for NSMenuItemCell

Available on crate feature NSMenuItemCell only.
source§

fn as_mut(&mut self) -> &mut NSButtonCell

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSButtonCell> for NSPopUpButtonCell

Available on crate feature NSPopUpButtonCell only.
source§

fn as_mut(&mut self) -> &mut NSButtonCell

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSCell> for NSButtonCell

source§

fn as_mut(&mut self) -> &mut NSCell

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSObject> for NSButtonCell

source§

fn as_mut(&mut self) -> &mut NSObject

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<AnyObject> for NSButtonCell

source§

fn as_ref(&self) -> &AnyObject

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSActionCell> for NSButtonCell

source§

fn as_ref(&self) -> &NSActionCell

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSButtonCell> for NSButtonCell

source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSButtonCell> for NSMenuItemCell

Available on crate feature NSMenuItemCell only.
source§

fn as_ref(&self) -> &NSButtonCell

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSButtonCell> for NSPopUpButtonCell

Available on crate feature NSPopUpButtonCell only.
source§

fn as_ref(&self) -> &NSButtonCell

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSCell> for NSButtonCell

source§

fn as_ref(&self) -> &NSCell

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSObject> for NSButtonCell

source§

fn as_ref(&self) -> &NSObject

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<AnyObject> for NSButtonCell

source§

fn borrow(&self) -> &AnyObject

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSActionCell> for NSButtonCell

source§

fn borrow(&self) -> &NSActionCell

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSButtonCell> for NSMenuItemCell

Available on crate feature NSMenuItemCell only.
source§

fn borrow(&self) -> &NSButtonCell

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSButtonCell> for NSPopUpButtonCell

Available on crate feature NSPopUpButtonCell only.
source§

fn borrow(&self) -> &NSButtonCell

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSCell> for NSButtonCell

source§

fn borrow(&self) -> &NSCell

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSObject> for NSButtonCell

source§

fn borrow(&self) -> &NSObject

Immutably borrows from an owned value. Read more
source§

impl BorrowMut<AnyObject> for NSButtonCell

source§

fn borrow_mut(&mut self) -> &mut AnyObject

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSActionCell> for NSButtonCell

source§

fn borrow_mut(&mut self) -> &mut NSActionCell

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSButtonCell> for NSMenuItemCell

Available on crate feature NSMenuItemCell only.
source§

fn borrow_mut(&mut self) -> &mut NSButtonCell

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSButtonCell> for NSPopUpButtonCell

Available on crate feature NSPopUpButtonCell only.
source§

fn borrow_mut(&mut self) -> &mut NSButtonCell

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSCell> for NSButtonCell

source§

fn borrow_mut(&mut self) -> &mut NSCell

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSObject> for NSButtonCell

source§

fn borrow_mut(&mut self) -> &mut NSObject

Mutably borrows from an owned value. Read more
source§

impl ClassType for NSButtonCell

§

type Super = NSActionCell

The superclass of this class. Read more
§

type Mutability = MainThreadOnly

Whether the type is mutable or immutable. Read more
source§

const NAME: &'static str = "NSButtonCell"

The name of the Objective-C class that this type represents. Read more
source§

fn class() -> &'static AnyClass

Get a reference to the Objective-C class that this type represents. Read more
source§

fn as_super(&self) -> &Self::Super

Get an immutable reference to the superclass.
source§

fn as_super_mut(&mut self) -> &mut Self::Super

Get a mutable reference to the superclass.
source§

fn retain(&self) -> Retained<Self>
where Self: IsRetainable + Sized,

Increment the reference count of the receiver. Read more
source§

impl Debug for NSButtonCell

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for NSButtonCell

§

type Target = NSActionCell

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for NSButtonCell

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Hash for NSButtonCell

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl NSAccessibility for NSButtonCell

Available on crate feature NSAccessibilityProtocols only.
source§

unsafe fn isAccessibilityElement(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityElement(&self, accessibility_element: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityFrame(&self) -> NSRect
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFrame(&self, accessibility_frame: NSRect)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityFocused(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFocused(&self, accessibility_focused: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityActivationPoint(&self) -> NSPoint
where Self: Sized + Message,

source§

unsafe fn setAccessibilityActivationPoint( &self, accessibility_activation_point: NSPoint )
where Self: Sized + Message,

source§

unsafe fn accessibilityTopLevelUIElement(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityTopLevelUIElement( &self, accessibility_top_level_ui_element: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityURL(&self) -> Option<Retained<NSURL>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityURL(&self, accessibility_url: Option<&NSURL>)
where Self: Sized + Message,

source§

unsafe fn accessibilityValue(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityValue(&self, accessibility_value: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn accessibilityValueDescription(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityValueDescription( &self, accessibility_value_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleChildren(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleChildren( &self, accessibility_visible_children: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySubrole( &self ) -> Option<Retained<NSAccessibilitySubrole>>
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilitySubrole( &self, accessibility_subrole: Option<&NSAccessibilitySubrole> )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityTitle(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityTitle(&self, accessibility_title: Option<&NSString>)
where Self: Sized + Message,

source§

unsafe fn accessibilityTitleUIElement(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityTitleUIElement( &self, accessibility_title_ui_element: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityNextContents(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityNextContents( &self, accessibility_next_contents: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityOrientation(&self) -> NSAccessibilityOrientation
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityOrientation( &self, accessibility_orientation: NSAccessibilityOrientation )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityOverflowButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityOverflowButton( &self, accessibility_overflow_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityParent(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityParent( &self, accessibility_parent: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityPlaceholderValue(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityPlaceholderValue( &self, accessibility_placeholder_value: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityPreviousContents(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityPreviousContents( &self, accessibility_previous_contents: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityRole(&self) -> Option<Retained<NSAccessibilityRole>>
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityRole( &self, accessibility_role: Option<&NSAccessibilityRole> )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityRoleDescription(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRoleDescription( &self, accessibility_role_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySearchButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySearchButton( &self, accessibility_search_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySearchMenu(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySearchMenu( &self, accessibility_search_menu: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilitySelected(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelected(&self, accessibility_selected: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedChildren(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedChildren( &self, accessibility_selected_children: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityServesAsTitleForUIElements( &self ) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityServesAsTitleForUIElements( &self, accessibility_serves_as_title_for_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityShownMenu(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityShownMenu( &self, accessibility_shown_menu: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMinValue(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMinValue( &self, accessibility_min_value: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMaxValue(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMaxValue( &self, accessibility_max_value: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLinkedUIElements(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityLinkedUIElements( &self, accessibility_linked_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityWindow(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityWindow( &self, accessibility_window: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityIdentifier( &self, accessibility_identifier: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityHelp(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHelp(&self, accessibility_help: Option<&NSString>)
where Self: Sized + Message,

source§

unsafe fn accessibilityFilename(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFilename( &self, accessibility_filename: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityExpanded(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityExpanded(&self, accessibility_expanded: bool)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityEdited(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityEdited(&self, accessibility_edited: bool)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityEnabled(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityEnabled(&self, accessibility_enabled: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityChildren(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityChildren( &self, accessibility_children: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityChildrenInNavigationOrder( &self ) -> Option<Retained<NSArray<ProtocolObject<dyn NSAccessibilityElementProtocol>>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityChildrenInNavigationOrder( &self, accessibility_children_in_navigation_order: Option<&NSArray<ProtocolObject<dyn NSAccessibilityElementProtocol>>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityClearButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityClearButton( &self, accessibility_clear_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityCancelButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityCancelButton( &self, accessibility_cancel_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityProtectedContent(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityProtectedContent( &self, accessibility_protected_content: bool )
where Self: Sized + Message,

source§

unsafe fn accessibilityContents(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityContents( &self, accessibility_contents: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLabel(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityLabel(&self, accessibility_label: Option<&NSString>)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityAlternateUIVisible(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityAlternateUIVisible( &self, accessibility_alternate_ui_visible: bool )
where Self: Sized + Message,

source§

unsafe fn accessibilitySharedFocusElements(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySharedFocusElements( &self, accessibility_shared_focus_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityRequired(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRequired(&self, accessibility_required: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityCustomRotors( &self ) -> Retained<NSArray<NSAccessibilityCustomRotor>>
where Self: Sized + Message,

Available on crate feature NSAccessibilityCustomRotor only.
source§

unsafe fn setAccessibilityCustomRotors( &self, accessibility_custom_rotors: &NSArray<NSAccessibilityCustomRotor> )
where Self: Sized + Message,

Available on crate feature NSAccessibilityCustomRotor only.
source§

unsafe fn accessibilityUserInputLabels( &self ) -> Option<Retained<NSArray<NSString>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityUserInputLabels( &self, accessibility_user_input_labels: Option<&NSArray<NSString>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityAttributedUserInputLabels( &self ) -> Option<Retained<NSArray<NSAttributedString>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityAttributedUserInputLabels( &self, accessibility_attributed_user_input_labels: Option<&NSArray<NSAttributedString>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityApplicationFocusedUIElement( &self ) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityApplicationFocusedUIElement( &self, accessibility_application_focused_ui_element: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMainWindow(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMainWindow( &self, accessibility_main_window: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityHidden(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHidden(&self, accessibility_hidden: bool)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityFrontmost(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFrontmost(&self, accessibility_frontmost: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityFocusedWindow(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFocusedWindow( &self, accessibility_focused_window: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityWindows(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityWindows( &self, accessibility_windows: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityExtrasMenuBar(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityExtrasMenuBar( &self, accessibility_extras_menu_bar: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMenuBar(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMenuBar( &self, accessibility_menu_bar: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityColumnTitles(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumnTitles( &self, accessibility_column_titles: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityOrderedByRow(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityOrderedByRow( &self, accessibility_ordered_by_row: bool )
where Self: Sized + Message,

source§

unsafe fn accessibilityHorizontalUnits(&self) -> NSAccessibilityUnits
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityHorizontalUnits( &self, accessibility_horizontal_units: NSAccessibilityUnits )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityVerticalUnits(&self) -> NSAccessibilityUnits
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityVerticalUnits( &self, accessibility_vertical_units: NSAccessibilityUnits )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityHorizontalUnitDescription( &self ) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHorizontalUnitDescription( &self, accessibility_horizontal_unit_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVerticalUnitDescription( &self ) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVerticalUnitDescription( &self, accessibility_vertical_unit_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLayoutPointForScreenPoint( &self, point: NSPoint ) -> NSPoint
where Self: Sized + Message,

source§

unsafe fn accessibilityLayoutSizeForScreenSize(&self, size: NSSize) -> NSSize
where Self: Sized + Message,

source§

unsafe fn accessibilityScreenPointForLayoutPoint( &self, point: NSPoint ) -> NSPoint
where Self: Sized + Message,

source§

unsafe fn accessibilityScreenSizeForLayoutSize(&self, size: NSSize) -> NSSize
where Self: Sized + Message,

source§

unsafe fn accessibilityHandles(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHandles( &self, accessibility_handles: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityWarningValue(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityWarningValue( &self, accessibility_warning_value: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityCriticalValue(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityCriticalValue( &self, accessibility_critical_value: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityDisclosed(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDisclosed(&self, accessibility_disclosed: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityDisclosedByRow(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDisclosedByRow( &self, accessibility_disclosed_by_row: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDisclosedRows(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDisclosedRows( &self, accessibility_disclosed_rows: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDisclosureLevel(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDisclosureLevel( &self, accessibility_disclosure_level: NSInteger )
where Self: Sized + Message,

source§

unsafe fn accessibilityMarkerUIElements(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMarkerUIElements( &self, accessibility_marker_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMarkerValues(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMarkerValues( &self, accessibility_marker_values: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMarkerGroupUIElement( &self ) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMarkerGroupUIElement( &self, accessibility_marker_group_ui_element: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityUnits(&self) -> NSAccessibilityUnits
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityUnits( &self, accessibility_units: NSAccessibilityUnits )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityUnitDescription(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityUnitDescription( &self, accessibility_unit_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityRulerMarkerType(&self) -> NSAccessibilityRulerMarkerType
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityRulerMarkerType( &self, accessibility_ruler_marker_type: NSAccessibilityRulerMarkerType )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityMarkerTypeDescription( &self ) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMarkerTypeDescription( &self, accessibility_marker_type_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityHorizontalScrollBar(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHorizontalScrollBar( &self, accessibility_horizontal_scroll_bar: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVerticalScrollBar(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVerticalScrollBar( &self, accessibility_vertical_scroll_bar: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityAllowedValues( &self ) -> Option<Retained<NSArray<NSNumber>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityAllowedValues( &self, accessibility_allowed_values: Option<&NSArray<NSNumber>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLabelUIElements(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityLabelUIElements( &self, accessibility_label_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLabelValue(&self) -> c_float
where Self: Sized + Message,

source§

unsafe fn setAccessibilityLabelValue(&self, accessibility_label_value: c_float)
where Self: Sized + Message,

source§

unsafe fn accessibilitySplitters(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySplitters( &self, accessibility_splitters: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDecrementButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDecrementButton( &self, accessibility_decrement_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityIncrementButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityIncrementButton( &self, accessibility_increment_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityTabs(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityTabs(&self, accessibility_tabs: Option<&NSArray>)
where Self: Sized + Message,

source§

unsafe fn accessibilityHeader(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHeader( &self, accessibility_header: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityColumnCount(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumnCount( &self, accessibility_column_count: NSInteger )
where Self: Sized + Message,

source§

unsafe fn accessibilityRowCount(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRowCount(&self, accessibility_row_count: NSInteger)
where Self: Sized + Message,

source§

unsafe fn accessibilityIndex(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityIndex(&self, accessibility_index: NSInteger)
where Self: Sized + Message,

source§

unsafe fn accessibilityColumns(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumns( &self, accessibility_columns: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityRows(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRows(&self, accessibility_rows: Option<&NSArray>)
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleRows(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleRows( &self, accessibility_visible_rows: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedRows(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedRows( &self, accessibility_selected_rows: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleColumns(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleColumns( &self, accessibility_visible_columns: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedColumns(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedColumns( &self, accessibility_selected_columns: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySortDirection(&self) -> NSAccessibilitySortDirection
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilitySortDirection( &self, accessibility_sort_direction: NSAccessibilitySortDirection )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityRowHeaderUIElements(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRowHeaderUIElements( &self, accessibility_row_header_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedCells(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedCells( &self, accessibility_selected_cells: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleCells(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleCells( &self, accessibility_visible_cells: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityColumnHeaderUIElements( &self ) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumnHeaderUIElements( &self, accessibility_column_header_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityCellForColumn_row( &self, column: NSInteger, row: NSInteger ) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn accessibilityRowIndexRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRowIndexRange( &self, accessibility_row_index_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilityColumnIndexRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumnIndexRange( &self, accessibility_column_index_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilityInsertionPointLineNumber(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityInsertionPointLineNumber( &self, accessibility_insertion_point_line_number: NSInteger )
where Self: Sized + Message,

source§

unsafe fn accessibilitySharedCharacterRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySharedCharacterRange( &self, accessibility_shared_character_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilitySharedTextUIElements(&self) -> Option<Retained<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySharedTextUIElements( &self, accessibility_shared_text_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleCharacterRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleCharacterRange( &self, accessibility_visible_character_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilityNumberOfCharacters(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityNumberOfCharacters( &self, accessibility_number_of_characters: NSInteger )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedText(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedText( &self, accessibility_selected_text: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedTextRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedTextRange( &self, accessibility_selected_text_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedTextRanges( &self ) -> Option<Retained<NSArray<NSValue>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedTextRanges( &self, accessibility_selected_text_ranges: Option<&NSArray<NSValue>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityAttributedStringForRange( &self, range: NSRange ) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message,

source§

unsafe fn accessibilityRangeForLine(&self, line: NSInteger) -> NSRange
where Self: Sized + Message,

source§

unsafe fn accessibilityStringForRange( &self, range: NSRange ) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn accessibilityRangeForPosition(&self, point: NSPoint) -> NSRange
where Self: Sized + Message,

source§

unsafe fn accessibilityRangeForIndex(&self, index: NSInteger) -> NSRange
where Self: Sized + Message,

source§

unsafe fn accessibilityFrameForRange(&self, range: NSRange) -> NSRect
where Self: Sized + Message,

source§

unsafe fn accessibilityRTFForRange( &self, range: NSRange ) -> Option<Retained<NSData>>
where Self: Sized + Message,

source§

unsafe fn accessibilityStyleRangeForIndex(&self, index: NSInteger) -> NSRange
where Self: Sized + Message,

source§

unsafe fn accessibilityLineForIndex(&self, index: NSInteger) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn accessibilityToolbarButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityToolbarButton( &self, accessibility_toolbar_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityModal(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityModal(&self, accessibility_modal: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityProxy(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityProxy(&self, accessibility_proxy: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityMain(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMain(&self, accessibility_main: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityFullScreenButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFullScreenButton( &self, accessibility_full_screen_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityGrowArea(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityGrowArea( &self, accessibility_grow_area: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDocument(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDocument( &self, accessibility_document: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDefaultButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDefaultButton( &self, accessibility_default_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityCloseButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityCloseButton( &self, accessibility_close_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityZoomButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityZoomButton( &self, accessibility_zoom_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMinimizeButton(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMinimizeButton( &self, accessibility_minimize_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityMinimized(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMinimized(&self, accessibility_minimized: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityCustomActions( &self ) -> Option<Retained<NSArray<NSAccessibilityCustomAction>>>
where Self: Sized + Message,

Available on crate feature NSAccessibilityCustomAction only.
source§

unsafe fn setAccessibilityCustomActions( &self, accessibility_custom_actions: Option<&NSArray<NSAccessibilityCustomAction>> )
where Self: Sized + Message,

Available on crate feature NSAccessibilityCustomAction only.
source§

unsafe fn accessibilityPerformCancel(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformConfirm(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformDecrement(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformDelete(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformIncrement(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformPick(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformPress(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformRaise(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformShowAlternateUI(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformShowDefaultUI(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformShowMenu(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn isAccessibilitySelectorAllowed(&self, selector: Sel) -> bool
where Self: Sized + Message,

source§

impl NSAccessibilityElementProtocol for NSButtonCell

Available on crate feature NSAccessibilityProtocols only.
source§

unsafe fn accessibilityFrame(&self) -> NSRect
where Self: Sized + Message,

source§

unsafe fn accessibilityParent(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn isAccessibilityFocused(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityIdentifier(&self) -> Retained<NSString>
where Self: Sized + Message,

source§

impl NSCoding for NSButtonCell

source§

unsafe fn encodeWithCoder(&self, coder: &NSCoder)
where Self: Sized + Message,

Available on crate feature NSCoder only.
source§

unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Option<Retained<Self>>
where Self: Sized + Message,

Available on crate feature NSCoder only.
source§

impl NSCopying for NSButtonCell

source§

fn copy(&self) -> Retained<Self::Immutable>

Returns a new instance that’s a copy of the receiver. Read more
source§

unsafe fn copyWithZone(&self, zone: *mut NSZone) -> Retained<Self::Immutable>

Available on crate feature NSZone only.
Returns a new instance that’s a copy of the receiver. Read more
source§

impl NSObjectProtocol for NSButtonCell

source§

fn isEqual(&self, other: &AnyObject) -> bool
where Self: Sized + Message,

Check whether the object is equal to an arbitrary other object. Read more
source§

fn hash(&self) -> usize
where Self: Sized + Message,

An integer that can be used as a table address in a hash table structure. Read more
source§

fn isKindOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message,

Check if the object is an instance of the class, or one of its subclasses. Read more
source§

fn is_kind_of<T>(&self) -> bool
where T: ClassType, Self: Sized + Message,

Check if the object is an instance of the class type, or one of its subclasses. Read more
source§

fn isMemberOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message,

Check if the object is an instance of a specific class, without checking subclasses. Read more
source§

fn respondsToSelector(&self, aSelector: Sel) -> bool
where Self: Sized + Message,

Check whether the object implements or inherits a method with the given selector. Read more
source§

fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
where Self: Sized + Message,

Check whether the object conforms to a given protocol. Read more
source§

fn description(&self) -> Retained<NSObject>
where Self: Sized + Message,

A textual representation of the object. Read more
source§

fn debugDescription(&self) -> Retained<NSObject>
where Self: Sized + Message,

A textual representation of the object to use when debugging. Read more
source§

fn isProxy(&self) -> bool
where Self: Sized + Message,

Check whether the receiver is a subclass of the NSProxy root class instead of the usual NSObject. Read more
source§

fn retainCount(&self) -> usize
where Self: Sized + Message,

The reference count of the object. Read more
source§

impl NSUserInterfaceItemIdentification for NSButtonCell

Available on crate feature NSUserInterfaceItemIdentification only.
source§

impl PartialEq for NSButtonCell

source§

fn eq(&self, other: &NSButtonCell) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RefEncode for NSButtonCell

source§

const ENCODING_REF: Encoding = <NSActionCell as ::objc2::RefEncode>::ENCODING_REF

The Objective-C type-encoding for a reference of this type. Read more
source§

impl Eq for NSButtonCell

source§

impl Message for NSButtonCell

source§

impl StructuralPartialEq for NSButtonCell

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CounterpartOrSelf for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityCounterpartOrSelf<T>,

§

type Immutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Immutable

The immutable counterpart of the type, or Self if the type has no immutable counterpart. Read more
§

type Mutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Mutable

The mutable counterpart of the type, or Self if the type has no mutable counterpart. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,

source§

impl<T> IsIdCloneable for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsIdCloneable,

source§

impl<T> IsMainThreadOnly for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsMainThreadOnly,

source§

impl<T> IsRetainable for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsRetainable,