#[repr(C)]pub struct NSCell { /* private fields */ }NSCell only.Expand description
Implementations§
Source§impl NSCell
impl NSCell
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>
pub unsafe fn initTextCell( this: Allocated<Self>, string: &NSString, ) -> Retained<Self>
pub unsafe fn initImageCell( this: Allocated<Self>, image: Option<&NSImage>, ) -> Retained<Self>
NSImage only.pub unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder, ) -> Retained<Self>
pub unsafe fn prefersTrackingUntilMouseUp(mtm: MainThreadMarker) -> bool
pub unsafe fn controlView(&self) -> Option<Retained<NSView>>
NSResponder and NSView only.Sourcepub unsafe fn setControlView(&self, control_view: Option<&NSView>)
Available on crate features NSResponder and NSView only.
pub unsafe fn setControlView(&self, control_view: Option<&NSView>)
NSResponder and NSView only.Setter for controlView.
pub unsafe fn type(&self) -> NSCellType
Sourcepub unsafe fn setType(&self, type: NSCellType)
pub unsafe fn setType(&self, type: NSCellType)
Setter for type.
pub unsafe fn state(&self) -> NSControlStateValue
Sourcepub unsafe fn setState(&self, state: NSControlStateValue)
pub unsafe fn setState(&self, state: NSControlStateValue)
Setter for state.
pub unsafe fn target(&self) -> Option<Retained<AnyObject>>
Sourcepub unsafe fn setTarget(&self, target: Option<&AnyObject>)
pub unsafe fn setTarget(&self, target: Option<&AnyObject>)
This is a weak property.
Setter for target.
pub unsafe fn action(&self) -> Option<Sel>
pub unsafe fn tag(&self) -> NSInteger
pub unsafe fn title(&self) -> Retained<NSString>
pub unsafe fn isOpaque(&self) -> bool
pub unsafe fn isEnabled(&self) -> bool
Sourcepub unsafe fn setEnabled(&self, enabled: bool)
pub unsafe fn setEnabled(&self, enabled: bool)
Setter for isEnabled.
pub unsafe fn sendActionOn(&self, mask: NSEventMask) -> NSInteger
NSEvent only.pub unsafe fn isContinuous(&self) -> bool
Sourcepub unsafe fn setContinuous(&self, continuous: bool)
pub unsafe fn setContinuous(&self, continuous: bool)
Setter for isContinuous.
pub unsafe fn isEditable(&self) -> bool
Sourcepub unsafe fn setEditable(&self, editable: bool)
pub unsafe fn setEditable(&self, editable: bool)
Setter for isEditable.
pub unsafe fn isSelectable(&self) -> bool
Sourcepub unsafe fn setSelectable(&self, selectable: bool)
pub unsafe fn setSelectable(&self, selectable: bool)
Setter for isSelectable.
pub unsafe fn isBordered(&self) -> bool
Sourcepub unsafe fn setBordered(&self, bordered: bool)
pub unsafe fn setBordered(&self, bordered: bool)
Setter for isBordered.
pub unsafe fn isBezeled(&self) -> bool
Sourcepub unsafe fn setBezeled(&self, bezeled: bool)
pub unsafe fn setBezeled(&self, bezeled: bool)
Setter for isBezeled.
pub unsafe fn isScrollable(&self) -> bool
Sourcepub unsafe fn setScrollable(&self, scrollable: bool)
pub unsafe fn setScrollable(&self, scrollable: bool)
Setter for isScrollable.
pub unsafe fn isHighlighted(&self) -> bool
Sourcepub unsafe fn setHighlighted(&self, highlighted: bool)
pub unsafe fn setHighlighted(&self, highlighted: bool)
Setter for isHighlighted.
pub unsafe fn alignment(&self) -> NSTextAlignment
NSText only.Sourcepub unsafe fn setAlignment(&self, alignment: NSTextAlignment)
Available on crate feature NSText only.
pub unsafe fn setAlignment(&self, alignment: NSTextAlignment)
NSText only.Setter for alignment.
pub unsafe fn wraps(&self) -> bool
pub unsafe fn font(&self) -> Option<Retained<NSFont>>
NSFont only.Sourcepub unsafe fn setFont(&self, font: Option<&NSFont>)
Available on crate feature NSFont only.
pub unsafe fn setFont(&self, font: Option<&NSFont>)
NSFont only.Setter for font.
pub unsafe fn keyEquivalent(&self) -> Retained<NSString>
pub unsafe fn formatter(&self) -> Option<Retained<NSFormatter>>
Sourcepub unsafe fn setFormatter(&self, formatter: Option<&NSFormatter>)
pub unsafe fn setFormatter(&self, formatter: Option<&NSFormatter>)
Setter for formatter.
pub unsafe fn objectValue(&self) -> Option<Retained<AnyObject>>
Sourcepub unsafe fn setObjectValue(&self, object_value: Option<&AnyObject>)
pub unsafe fn setObjectValue(&self, object_value: Option<&AnyObject>)
Setter for objectValue.
pub unsafe fn hasValidObjectValue(&self) -> bool
pub unsafe fn stringValue(&self) -> Retained<NSString>
Sourcepub unsafe fn setStringValue(&self, string_value: &NSString)
pub unsafe fn setStringValue(&self, string_value: &NSString)
Setter for stringValue.
pub unsafe fn compare(&self, other_cell: &AnyObject) -> NSComparisonResult
pub unsafe fn intValue(&self) -> c_int
Sourcepub unsafe fn setIntValue(&self, int_value: c_int)
pub unsafe fn setIntValue(&self, int_value: c_int)
Setter for intValue.
pub unsafe fn floatValue(&self) -> c_float
Sourcepub unsafe fn setFloatValue(&self, float_value: c_float)
pub unsafe fn setFloatValue(&self, float_value: c_float)
Setter for floatValue.
pub unsafe fn doubleValue(&self) -> c_double
Sourcepub unsafe fn setDoubleValue(&self, double_value: c_double)
pub unsafe fn setDoubleValue(&self, double_value: c_double)
Setter for doubleValue.
pub unsafe fn integerValue(&self) -> NSInteger
Sourcepub unsafe fn setIntegerValue(&self, integer_value: NSInteger)
pub unsafe fn setIntegerValue(&self, integer_value: NSInteger)
Setter for integerValue.
pub unsafe fn takeIntValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeFloatValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeDoubleValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeStringValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeObjectValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeIntegerValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn image(&self) -> Option<Retained<NSImage>>
NSImage only.Sourcepub unsafe fn setImage(&self, image: Option<&NSImage>)
Available on crate feature NSImage only.
pub unsafe fn setImage(&self, image: Option<&NSImage>)
NSImage only.Setter for image.
pub unsafe fn controlSize(&self) -> NSControlSize
Sourcepub unsafe fn setControlSize(&self, control_size: NSControlSize)
pub unsafe fn setControlSize(&self, control_size: NSControlSize)
Setter for controlSize.
pub unsafe fn representedObject(&self) -> Option<Retained<AnyObject>>
Sourcepub unsafe fn setRepresentedObject(
&self,
represented_object: Option<&AnyObject>,
)
pub unsafe fn setRepresentedObject( &self, represented_object: Option<&AnyObject>, )
Setter for representedObject.
pub unsafe fn cellAttribute(&self, parameter: NSCellAttribute) -> NSInteger
pub unsafe fn setCellAttribute_to( &self, parameter: NSCellAttribute, value: NSInteger, )
pub unsafe fn imageRectForBounds(&self, rect: NSRect) -> NSRect
pub unsafe fn titleRectForBounds(&self, rect: NSRect) -> NSRect
pub unsafe fn drawingRectForBounds(&self, rect: NSRect) -> NSRect
pub unsafe fn cellSize(&self) -> NSSize
pub unsafe fn cellSizeForBounds(&self, rect: NSRect) -> NSSize
pub unsafe fn highlightColorWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView, ) -> Option<Retained<NSColor>>
NSColor and NSResponder and NSView only.pub unsafe fn calcDrawInfo(&self, rect: NSRect)
pub unsafe fn setUpFieldEditorAttributes( &self, text_obj: &NSText, ) -> Retained<NSText>
NSResponder and NSText and NSView only.pub unsafe fn drawInteriorWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView, )
NSResponder and NSView only.pub unsafe fn drawWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView, )
NSResponder and NSView only.pub unsafe fn highlight_withFrame_inView( &self, flag: bool, cell_frame: NSRect, control_view: &NSView, )
NSResponder and NSView only.pub unsafe fn mouseDownFlags(&self) -> NSInteger
pub unsafe fn getPeriodicDelay_interval( &self, delay: NonNull<c_float>, interval: NonNull<c_float>, )
pub unsafe fn startTrackingAt_inView( &self, start_point: NSPoint, control_view: &NSView, ) -> bool
NSResponder and NSView only.pub unsafe fn continueTracking_at_inView( &self, last_point: NSPoint, current_point: NSPoint, control_view: &NSView, ) -> bool
NSResponder and NSView only.pub unsafe fn stopTracking_at_inView_mouseIsUp( &self, last_point: NSPoint, stop_point: NSPoint, control_view: &NSView, flag: bool, )
NSResponder and NSView only.pub unsafe fn trackMouse_inRect_ofView_untilMouseUp( &self, event: &NSEvent, cell_frame: NSRect, control_view: &NSView, flag: bool, ) -> bool
NSEvent and NSResponder and NSView only.pub unsafe fn editWithFrame_inView_editor_delegate_event( &self, rect: NSRect, control_view: &NSView, text_obj: &NSText, delegate: Option<&AnyObject>, event: Option<&NSEvent>, )
NSEvent and NSResponder and NSText and NSView only.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, )
NSResponder and NSText and NSView only.pub unsafe fn endEditing(&self, text_obj: &NSText)
NSResponder and NSText and NSView only.pub unsafe fn resetCursorRect_inView( &self, cell_frame: NSRect, control_view: &NSView, )
NSResponder and NSView only.NSMenu only.Sourcepub unsafe fn setMenu(&self, menu: Option<&NSMenu>)
Available on crate feature NSMenu only.
pub unsafe fn setMenu(&self, menu: Option<&NSMenu>)
NSMenu only.Setter for menu.
NSEvent and NSMenu and NSResponder and NSView only.pub unsafe fn defaultMenu(mtm: MainThreadMarker) -> Option<Retained<NSMenu>>
NSMenu only.pub unsafe fn sendsActionOnEndEditing(&self) -> bool
Sourcepub unsafe fn setSendsActionOnEndEditing(
&self,
sends_action_on_end_editing: bool,
)
pub unsafe fn setSendsActionOnEndEditing( &self, sends_action_on_end_editing: bool, )
Setter for sendsActionOnEndEditing.
pub unsafe fn baseWritingDirection(&self) -> NSWritingDirection
NSText only.Sourcepub unsafe fn setBaseWritingDirection(
&self,
base_writing_direction: NSWritingDirection,
)
Available on crate feature NSText only.
pub unsafe fn setBaseWritingDirection( &self, base_writing_direction: NSWritingDirection, )
NSText only.Setter for baseWritingDirection.
pub unsafe fn lineBreakMode(&self) -> NSLineBreakMode
NSParagraphStyle only.Sourcepub unsafe fn setLineBreakMode(&self, line_break_mode: NSLineBreakMode)
Available on crate feature NSParagraphStyle only.
pub unsafe fn setLineBreakMode(&self, line_break_mode: NSLineBreakMode)
NSParagraphStyle only.Setter for lineBreakMode.
pub unsafe fn allowsUndo(&self) -> bool
Sourcepub unsafe fn setAllowsUndo(&self, allows_undo: bool)
pub unsafe fn setAllowsUndo(&self, allows_undo: bool)
Setter for allowsUndo.
pub unsafe fn truncatesLastVisibleLine(&self) -> bool
Sourcepub unsafe fn setTruncatesLastVisibleLine(
&self,
truncates_last_visible_line: bool,
)
pub unsafe fn setTruncatesLastVisibleLine( &self, truncates_last_visible_line: bool, )
Setter for truncatesLastVisibleLine.
pub unsafe fn userInterfaceLayoutDirection( &self, ) -> NSUserInterfaceLayoutDirection
NSUserInterfaceLayout only.Sourcepub unsafe fn setUserInterfaceLayoutDirection(
&self,
user_interface_layout_direction: NSUserInterfaceLayoutDirection,
)
Available on crate feature NSUserInterfaceLayout only.
pub unsafe fn setUserInterfaceLayoutDirection( &self, user_interface_layout_direction: NSUserInterfaceLayoutDirection, )
NSUserInterfaceLayout only.Setter for userInterfaceLayoutDirection.
pub unsafe fn fieldEditorForView( &self, control_view: &NSView, ) -> Option<Retained<NSTextView>>
NSResponder and NSText and NSTextView and NSView only.pub unsafe fn usesSingleLineMode(&self) -> bool
Sourcepub unsafe fn setUsesSingleLineMode(&self, uses_single_line_mode: bool)
pub unsafe fn setUsesSingleLineMode(&self, uses_single_line_mode: bool)
Setter for usesSingleLineMode.
pub unsafe fn draggingImageComponentsWithFrame_inView( &self, frame: NSRect, view: &NSView, ) -> Retained<NSArray<NSDraggingImageComponent>>
NSDraggingItem and NSResponder and NSView only.Source§impl NSCell
Methods declared on superclass NSObject.
impl NSCell
Methods declared on superclass NSObject.
pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>
Source§impl NSCell
NSKeyboardUI.
impl NSCell
NSKeyboardUI.
pub unsafe fn refusesFirstResponder(&self) -> bool
Sourcepub unsafe fn setRefusesFirstResponder(&self, refuses_first_responder: bool)
pub unsafe fn setRefusesFirstResponder(&self, refuses_first_responder: bool)
Setter for refusesFirstResponder.
pub unsafe fn acceptsFirstResponder(&self) -> bool
pub unsafe fn showsFirstResponder(&self) -> bool
Sourcepub unsafe fn setShowsFirstResponder(&self, shows_first_responder: bool)
pub unsafe fn setShowsFirstResponder(&self, shows_first_responder: bool)
Setter for showsFirstResponder.
pub unsafe fn performClick(&self, sender: Option<&AnyObject>)
pub unsafe fn focusRingType(&self) -> NSFocusRingType
NSGraphics only.Sourcepub unsafe fn setFocusRingType(&self, focus_ring_type: NSFocusRingType)
Available on crate feature NSGraphics only.
pub unsafe fn setFocusRingType(&self, focus_ring_type: NSFocusRingType)
NSGraphics only.Setter for focusRingType.
pub unsafe fn defaultFocusRingType(mtm: MainThreadMarker) -> NSFocusRingType
NSGraphics only.pub unsafe fn drawFocusRingMaskWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView, )
NSResponder and NSView only.pub unsafe fn focusRingMaskBoundsForFrame_inView( &self, cell_frame: NSRect, control_view: &NSView, ) -> NSRect
NSResponder and NSView only.pub unsafe fn wantsNotificationForMarkedText(&self) -> bool
Source§impl NSCell
NSCellAttributedStringMethods.
impl NSCell
NSCellAttributedStringMethods.
pub unsafe fn attributedStringValue(&self) -> Retained<NSAttributedString>
Sourcepub unsafe fn setAttributedStringValue(
&self,
attributed_string_value: &NSAttributedString,
)
pub unsafe fn setAttributedStringValue( &self, attributed_string_value: &NSAttributedString, )
Setter for attributedStringValue.
pub unsafe fn allowsEditingTextAttributes(&self) -> bool
Sourcepub unsafe fn setAllowsEditingTextAttributes(
&self,
allows_editing_text_attributes: bool,
)
pub unsafe fn setAllowsEditingTextAttributes( &self, allows_editing_text_attributes: bool, )
Setter for allowsEditingTextAttributes.
pub unsafe fn importsGraphics(&self) -> bool
Sourcepub unsafe fn setImportsGraphics(&self, imports_graphics: bool)
pub unsafe fn setImportsGraphics(&self, imports_graphics: bool)
Setter for importsGraphics.
Source§impl NSCell
NSCellMixedState.
impl NSCell
NSCellMixedState.
pub unsafe fn allowsMixedState(&self) -> bool
Sourcepub unsafe fn setAllowsMixedState(&self, allows_mixed_state: bool)
pub unsafe fn setAllowsMixedState(&self, allows_mixed_state: bool)
Setter for allowsMixedState.
pub unsafe fn nextState(&self) -> NSInteger
pub unsafe fn setNextState(&self)
Source§impl NSCell
NSCellHitTest.
impl NSCell
NSCellHitTest.
pub unsafe fn hitTestForEvent_inRect_ofView( &self, event: &NSEvent, cell_frame: NSRect, control_view: &NSView, ) -> NSCellHitResult
NSEvent and NSResponder and NSView only.Source§impl NSCell
NSCellExpansion.
impl NSCell
NSCellExpansion.
pub unsafe fn expansionFrameWithFrame_inView( &self, cell_frame: NSRect, view: &NSView, ) -> NSRect
NSResponder and NSView only.pub unsafe fn drawWithExpansionFrame_inView( &self, cell_frame: NSRect, view: &NSView, )
NSResponder and NSView only.Source§impl NSCell
NSCellBackgroundStyle.
impl NSCell
NSCellBackgroundStyle.
pub unsafe fn backgroundStyle(&self) -> NSBackgroundStyle
Sourcepub unsafe fn setBackgroundStyle(&self, background_style: NSBackgroundStyle)
pub unsafe fn setBackgroundStyle(&self, background_style: NSBackgroundStyle)
Setter for backgroundStyle.
pub unsafe fn interiorBackgroundStyle(&self) -> NSBackgroundStyle
Source§impl NSCell
NSDeprecated.
impl NSCell
NSDeprecated.
pub unsafe fn controlTint(&self) -> NSControlTint
Sourcepub 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.
pub unsafe fn setControlTint(&self, control_tint: NSControlTint)
Setter for controlTint.
pub unsafe fn entryType(&self) -> NSInteger
pub unsafe fn setEntryType(&self, type: NSInteger)
pub unsafe fn isEntryAcceptable(&self, string: &NSString) -> bool
pub unsafe fn setFloatingPointFormat_left_right( &self, auto_range: bool, left_digits: NSUInteger, right_digits: NSUInteger, )
pub unsafe fn setMnemonicLocation(&self, location: NSUInteger)
pub unsafe fn mnemonicLocation(&self) -> NSUInteger
pub unsafe fn mnemonic(&self) -> Retained<NSString>
pub unsafe fn setTitleWithMnemonic(&self, string_with_ampersand: &NSString)
Methods from Deref<Target = NSObject>§
Sourcepub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
Handle messages the object doesn’t recognize.
See Apple’s documentation for details.
Methods from Deref<Target = AnyObject>§
Sourcepub fn class(&self) -> &'static AnyClass
Available on crate feature NSAccessibilityConstants only.
pub fn class(&self) -> &'static AnyClass
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());Sourcepub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load instead.Available on crate feature NSAccessibilityConstants only.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
Ivar::load instead.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.
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: DowncastTarget,
Available on crate feature NSAccessibilityConstants only.
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: DowncastTarget,
NSAccessibilityConstants only.Attempt to downcast the object to a class of type T.
This is the reference-variant. Use Retained::downcast if you want
to convert a retained object to another type.
§Mutable classes
Some classes have immutable and mutable variants, such as NSString
and NSMutableString.
When some Objective-C API signature says it gives you an immutable class, it generally expects you to not mutate that, even though it may technically be mutable “under the hood”.
So using this method to convert a NSString to a NSMutableString,
while not unsound, is generally frowned upon unless you created the
string yourself, or the API explicitly documents the string to be
mutable.
See Apple’s documentation on mutability and on
isKindOfClass: for more details.
§Generic classes
Objective-C generics are called “lightweight generics”, and that’s because they aren’t exposed in the runtime. This makes it impossible to safely downcast to generic collections, so this is disallowed by this method.
You can, however, safely downcast to generic collections where all the
type-parameters are AnyObject.
§Panics
This works internally by calling isKindOfClass:. That means that the
object must have the instance method of that name, and an exception
will be thrown (if CoreFoundation is linked) or the process will abort
if that is not the case. In the vast majority of cases, you don’t need
to worry about this, since both root objects NSObject and
NSProxy implement this method.
§Examples
Cast an NSString back and forth from NSObject.
use objc2::rc::Retained;
use objc2_foundation::{NSObject, NSString};
let obj: Retained<NSObject> = NSString::new().into_super();
let string = obj.downcast_ref::<NSString>().unwrap();
// Or with `downcast`, if we do not need the object afterwards
let string = obj.downcast::<NSString>().unwrap();Try (and fail) to cast an NSObject to an NSString.
use objc2_foundation::{NSObject, NSString};
let obj = NSObject::new();
assert!(obj.downcast_ref::<NSString>().is_none());Try to cast to an array of strings.
use objc2_foundation::{NSArray, NSObject, NSString};
let arr = NSArray::from_retained_slice(&[NSObject::new()]);
// This is invalid and doesn't type check.
let arr = arr.downcast_ref::<NSArray<NSString>>();This fails to compile, since it would require enumerating over the array to ensure that each element is of the desired type, which is a performance pitfall.
Downcast when processing each element instead.
use objc2_foundation::{NSArray, NSObject, NSString};
let arr = NSArray::from_retained_slice(&[NSObject::new()]);
for elem in arr {
if let Some(data) = elem.downcast_ref::<NSString>() {
// handle `data`
}
}Trait Implementations§
Source§impl AsRef<NSCell> for NSActionCell
Available on crate feature NSActionCell only.
impl AsRef<NSCell> for NSActionCell
NSActionCell only.Source§impl AsRef<NSCell> for NSBrowserCell
Available on crate feature NSBrowserCell only.
impl AsRef<NSCell> for NSBrowserCell
NSBrowserCell only.Source§impl AsRef<NSCell> for NSButtonCell
Available on crate features NSActionCell and NSButtonCell only.
impl AsRef<NSCell> for NSButtonCell
NSActionCell and NSButtonCell only.Source§impl AsRef<NSCell> for NSComboBoxCell
Available on crate features NSActionCell and NSTextFieldCell and NSComboBoxCell only.
impl AsRef<NSCell> for NSComboBoxCell
NSActionCell and NSTextFieldCell and NSComboBoxCell only.Source§impl AsRef<NSCell> for NSDatePickerCell
Available on crate features NSActionCell and NSDatePickerCell only.
impl AsRef<NSCell> for NSDatePickerCell
NSActionCell and NSDatePickerCell only.Source§impl AsRef<NSCell> for NSFormCell
Available on crate features NSActionCell and NSFormCell only.
impl AsRef<NSCell> for NSFormCell
NSActionCell and NSFormCell only.Source§impl AsRef<NSCell> for NSImageCell
Available on crate feature NSImageCell only.
impl AsRef<NSCell> for NSImageCell
NSImageCell only.Source§impl AsRef<NSCell> for NSLevelIndicatorCell
Available on crate features NSActionCell and NSLevelIndicatorCell only.
impl AsRef<NSCell> for NSLevelIndicatorCell
NSActionCell and NSLevelIndicatorCell only.Source§impl AsRef<NSCell> for NSMenuItemCell
Available on crate features NSActionCell and NSButtonCell and NSMenuItemCell only.
impl AsRef<NSCell> for NSMenuItemCell
NSActionCell and NSButtonCell and NSMenuItemCell only.Source§impl AsRef<NSCell> for NSPathCell
Available on crate features NSActionCell and NSPathCell only.
impl AsRef<NSCell> for NSPathCell
NSActionCell and NSPathCell only.Source§impl AsRef<NSCell> for NSPathComponentCell
Available on crate features NSActionCell and NSTextFieldCell and NSPathComponentCell only.
impl AsRef<NSCell> for NSPathComponentCell
NSActionCell and NSTextFieldCell and NSPathComponentCell only.Source§impl AsRef<NSCell> for NSPopUpButtonCell
Available on crate features NSActionCell and NSButtonCell and NSMenuItemCell and NSPopUpButtonCell only.
impl AsRef<NSCell> for NSPopUpButtonCell
NSActionCell and NSButtonCell and NSMenuItemCell and NSPopUpButtonCell only.Source§impl AsRef<NSCell> for NSSearchFieldCell
Available on crate features NSActionCell and NSTextFieldCell and NSSearchFieldCell only.
impl AsRef<NSCell> for NSSearchFieldCell
NSActionCell and NSTextFieldCell and NSSearchFieldCell only.Source§impl AsRef<NSCell> for NSSecureTextFieldCell
Available on crate features NSActionCell and NSTextFieldCell and NSSecureTextField only.
impl AsRef<NSCell> for NSSecureTextFieldCell
NSActionCell and NSTextFieldCell and NSSecureTextField only.Source§impl AsRef<NSCell> for NSSegmentedCell
Available on crate features NSActionCell and NSSegmentedCell only.
impl AsRef<NSCell> for NSSegmentedCell
NSActionCell and NSSegmentedCell only.Source§impl AsRef<NSCell> for NSSliderCell
Available on crate features NSActionCell and NSSliderCell only.
impl AsRef<NSCell> for NSSliderCell
NSActionCell and NSSliderCell only.Source§impl AsRef<NSCell> for NSStepperCell
Available on crate features NSActionCell and NSStepperCell only.
impl AsRef<NSCell> for NSStepperCell
NSActionCell and NSStepperCell only.Source§impl AsRef<NSCell> for NSTableHeaderCell
Available on crate features NSActionCell and NSTextFieldCell and NSTableHeaderCell only.
impl AsRef<NSCell> for NSTableHeaderCell
NSActionCell and NSTextFieldCell and NSTableHeaderCell only.Source§impl AsRef<NSCell> for NSTextAttachmentCell
Available on crate feature NSTextAttachmentCell only.
impl AsRef<NSCell> for NSTextAttachmentCell
NSTextAttachmentCell only.Source§impl AsRef<NSCell> for NSTextFieldCell
Available on crate features NSActionCell and NSTextFieldCell only.
impl AsRef<NSCell> for NSTextFieldCell
NSActionCell and NSTextFieldCell only.Source§impl AsRef<NSCell> for NSTokenFieldCell
Available on crate features NSActionCell and NSTextFieldCell and NSTokenFieldCell only.
impl AsRef<NSCell> for NSTokenFieldCell
NSActionCell and NSTextFieldCell and NSTokenFieldCell only.Source§impl Borrow<NSCell> for NSActionCell
Available on crate feature NSActionCell only.
impl Borrow<NSCell> for NSActionCell
NSActionCell only.Source§impl Borrow<NSCell> for NSBrowserCell
Available on crate feature NSBrowserCell only.
impl Borrow<NSCell> for NSBrowserCell
NSBrowserCell only.Source§impl Borrow<NSCell> for NSButtonCell
Available on crate features NSActionCell and NSButtonCell only.
impl Borrow<NSCell> for NSButtonCell
NSActionCell and NSButtonCell only.Source§impl Borrow<NSCell> for NSComboBoxCell
Available on crate features NSActionCell and NSTextFieldCell and NSComboBoxCell only.
impl Borrow<NSCell> for NSComboBoxCell
NSActionCell and NSTextFieldCell and NSComboBoxCell only.Source§impl Borrow<NSCell> for NSDatePickerCell
Available on crate features NSActionCell and NSDatePickerCell only.
impl Borrow<NSCell> for NSDatePickerCell
NSActionCell and NSDatePickerCell only.Source§impl Borrow<NSCell> for NSFormCell
Available on crate features NSActionCell and NSFormCell only.
impl Borrow<NSCell> for NSFormCell
NSActionCell and NSFormCell only.Source§impl Borrow<NSCell> for NSImageCell
Available on crate feature NSImageCell only.
impl Borrow<NSCell> for NSImageCell
NSImageCell only.Source§impl Borrow<NSCell> for NSLevelIndicatorCell
Available on crate features NSActionCell and NSLevelIndicatorCell only.
impl Borrow<NSCell> for NSLevelIndicatorCell
NSActionCell and NSLevelIndicatorCell only.Source§impl Borrow<NSCell> for NSMenuItemCell
Available on crate features NSActionCell and NSButtonCell and NSMenuItemCell only.
impl Borrow<NSCell> for NSMenuItemCell
NSActionCell and NSButtonCell and NSMenuItemCell only.Source§impl Borrow<NSCell> for NSPathCell
Available on crate features NSActionCell and NSPathCell only.
impl Borrow<NSCell> for NSPathCell
NSActionCell and NSPathCell only.Source§impl Borrow<NSCell> for NSPathComponentCell
Available on crate features NSActionCell and NSTextFieldCell and NSPathComponentCell only.
impl Borrow<NSCell> for NSPathComponentCell
NSActionCell and NSTextFieldCell and NSPathComponentCell only.Source§impl Borrow<NSCell> for NSPopUpButtonCell
Available on crate features NSActionCell and NSButtonCell and NSMenuItemCell and NSPopUpButtonCell only.
impl Borrow<NSCell> for NSPopUpButtonCell
NSActionCell and NSButtonCell and NSMenuItemCell and NSPopUpButtonCell only.Source§impl Borrow<NSCell> for NSSearchFieldCell
Available on crate features NSActionCell and NSTextFieldCell and NSSearchFieldCell only.
impl Borrow<NSCell> for NSSearchFieldCell
NSActionCell and NSTextFieldCell and NSSearchFieldCell only.Source§impl Borrow<NSCell> for NSSecureTextFieldCell
Available on crate features NSActionCell and NSTextFieldCell and NSSecureTextField only.
impl Borrow<NSCell> for NSSecureTextFieldCell
NSActionCell and NSTextFieldCell and NSSecureTextField only.Source§impl Borrow<NSCell> for NSSegmentedCell
Available on crate features NSActionCell and NSSegmentedCell only.
impl Borrow<NSCell> for NSSegmentedCell
NSActionCell and NSSegmentedCell only.Source§impl Borrow<NSCell> for NSSliderCell
Available on crate features NSActionCell and NSSliderCell only.
impl Borrow<NSCell> for NSSliderCell
NSActionCell and NSSliderCell only.Source§impl Borrow<NSCell> for NSStepperCell
Available on crate features NSActionCell and NSStepperCell only.
impl Borrow<NSCell> for NSStepperCell
NSActionCell and NSStepperCell only.Source§impl Borrow<NSCell> for NSTableHeaderCell
Available on crate features NSActionCell and NSTextFieldCell and NSTableHeaderCell only.
impl Borrow<NSCell> for NSTableHeaderCell
NSActionCell and NSTextFieldCell and NSTableHeaderCell only.Source§impl Borrow<NSCell> for NSTextAttachmentCell
Available on crate feature NSTextAttachmentCell only.
impl Borrow<NSCell> for NSTextAttachmentCell
NSTextAttachmentCell only.Source§impl Borrow<NSCell> for NSTextFieldCell
Available on crate features NSActionCell and NSTextFieldCell only.
impl Borrow<NSCell> for NSTextFieldCell
NSActionCell and NSTextFieldCell only.Source§impl Borrow<NSCell> for NSTokenFieldCell
Available on crate features NSActionCell and NSTextFieldCell and NSTokenFieldCell only.
impl Borrow<NSCell> for NSTokenFieldCell
NSActionCell and NSTextFieldCell and NSTokenFieldCell only.Source§impl ClassType for NSCell
impl ClassType for NSCell
Source§const NAME: &'static str = "NSCell"
const NAME: &'static str = "NSCell"
Source§type ThreadKind = dyn MainThreadOnly
type ThreadKind = dyn MainThreadOnly
Source§impl CopyingHelper for NSCell
impl CopyingHelper for NSCell
Source§impl NSAccessibility for NSCell
Available on crate feature NSAccessibilityProtocols only.
impl NSAccessibility for NSCell
NSAccessibilityProtocols only.unsafe fn isAccessibilityElement(&self) -> bool
Source§unsafe fn setAccessibilityElement(&self, accessibility_element: bool)
unsafe fn setAccessibilityElement(&self, accessibility_element: bool)
isAccessibilityElement.unsafe fn accessibilityFrame(&self) -> NSRect
Source§unsafe fn setAccessibilityFrame(&self, accessibility_frame: NSRect)
unsafe fn setAccessibilityFrame(&self, accessibility_frame: NSRect)
accessibilityFrame.unsafe fn isAccessibilityFocused(&self) -> bool
Source§unsafe fn setAccessibilityFocused(&self, accessibility_focused: bool)
unsafe fn setAccessibilityFocused(&self, accessibility_focused: bool)
isAccessibilityFocused.unsafe fn accessibilityActivationPoint(&self) -> NSPoint
Source§unsafe fn setAccessibilityActivationPoint(
&self,
accessibility_activation_point: NSPoint,
)
unsafe fn setAccessibilityActivationPoint( &self, accessibility_activation_point: NSPoint, )
accessibilityActivationPoint.unsafe fn accessibilityTopLevelUIElement(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityTopLevelUIElement(
&self,
accessibility_top_level_ui_element: Option<&AnyObject>,
)
unsafe fn setAccessibilityTopLevelUIElement( &self, accessibility_top_level_ui_element: Option<&AnyObject>, )
accessibilityTopLevelUIElement.unsafe fn accessibilityURL(&self) -> Option<Retained<NSURL>>
Source§unsafe fn setAccessibilityURL(&self, accessibility_url: Option<&NSURL>)
unsafe fn setAccessibilityURL(&self, accessibility_url: Option<&NSURL>)
accessibilityURL.unsafe fn accessibilityValue(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityValue(&self, accessibility_value: Option<&AnyObject>)
unsafe fn setAccessibilityValue(&self, accessibility_value: Option<&AnyObject>)
accessibilityValue.unsafe fn accessibilityValueDescription(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityValueDescription(
&self,
accessibility_value_description: Option<&NSString>,
)
unsafe fn setAccessibilityValueDescription( &self, accessibility_value_description: Option<&NSString>, )
accessibilityValueDescription.unsafe fn accessibilityVisibleChildren(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityVisibleChildren(
&self,
accessibility_visible_children: Option<&NSArray>,
)
unsafe fn setAccessibilityVisibleChildren( &self, accessibility_visible_children: Option<&NSArray>, )
accessibilityVisibleChildren.Source§unsafe fn accessibilitySubrole(
&self,
) -> Option<Retained<NSAccessibilitySubrole>>
unsafe fn accessibilitySubrole( &self, ) -> Option<Retained<NSAccessibilitySubrole>>
NSAccessibilityConstants only.Source§unsafe fn setAccessibilitySubrole(
&self,
accessibility_subrole: Option<&NSAccessibilitySubrole>,
)
unsafe fn setAccessibilitySubrole( &self, accessibility_subrole: Option<&NSAccessibilitySubrole>, )
NSAccessibilityConstants only.accessibilitySubrole.unsafe fn accessibilityTitle(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityTitle(&self, accessibility_title: Option<&NSString>)
unsafe fn setAccessibilityTitle(&self, accessibility_title: Option<&NSString>)
accessibilityTitle.unsafe fn accessibilityTitleUIElement(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityTitleUIElement(
&self,
accessibility_title_ui_element: Option<&AnyObject>,
)
unsafe fn setAccessibilityTitleUIElement( &self, accessibility_title_ui_element: Option<&AnyObject>, )
accessibilityTitleUIElement.unsafe fn accessibilityNextContents(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityNextContents(
&self,
accessibility_next_contents: Option<&NSArray>,
)
unsafe fn setAccessibilityNextContents( &self, accessibility_next_contents: Option<&NSArray>, )
accessibilityNextContents.Source§unsafe fn accessibilityOrientation(&self) -> NSAccessibilityOrientation
unsafe fn accessibilityOrientation(&self) -> NSAccessibilityOrientation
NSAccessibilityConstants only.Source§unsafe fn setAccessibilityOrientation(
&self,
accessibility_orientation: NSAccessibilityOrientation,
)
unsafe fn setAccessibilityOrientation( &self, accessibility_orientation: NSAccessibilityOrientation, )
NSAccessibilityConstants only.accessibilityOrientation.unsafe fn accessibilityOverflowButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityOverflowButton(
&self,
accessibility_overflow_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityOverflowButton( &self, accessibility_overflow_button: Option<&AnyObject>, )
accessibilityOverflowButton.unsafe fn accessibilityParent(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityParent(
&self,
accessibility_parent: Option<&AnyObject>,
)
unsafe fn setAccessibilityParent( &self, accessibility_parent: Option<&AnyObject>, )
accessibilityParent.unsafe fn accessibilityPlaceholderValue(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityPlaceholderValue(
&self,
accessibility_placeholder_value: Option<&NSString>,
)
unsafe fn setAccessibilityPlaceholderValue( &self, accessibility_placeholder_value: Option<&NSString>, )
accessibilityPlaceholderValue.unsafe fn accessibilityPreviousContents(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityPreviousContents(
&self,
accessibility_previous_contents: Option<&NSArray>,
)
unsafe fn setAccessibilityPreviousContents( &self, accessibility_previous_contents: Option<&NSArray>, )
accessibilityPreviousContents.Source§unsafe fn accessibilityRole(&self) -> Option<Retained<NSAccessibilityRole>>
unsafe fn accessibilityRole(&self) -> Option<Retained<NSAccessibilityRole>>
NSAccessibilityConstants only.Source§unsafe fn setAccessibilityRole(
&self,
accessibility_role: Option<&NSAccessibilityRole>,
)
unsafe fn setAccessibilityRole( &self, accessibility_role: Option<&NSAccessibilityRole>, )
NSAccessibilityConstants only.accessibilityRole.unsafe fn accessibilityRoleDescription(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityRoleDescription(
&self,
accessibility_role_description: Option<&NSString>,
)
unsafe fn setAccessibilityRoleDescription( &self, accessibility_role_description: Option<&NSString>, )
accessibilityRoleDescription.unsafe fn accessibilitySearchButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilitySearchButton(
&self,
accessibility_search_button: Option<&AnyObject>,
)
unsafe fn setAccessibilitySearchButton( &self, accessibility_search_button: Option<&AnyObject>, )
accessibilitySearchButton.unsafe fn accessibilitySearchMenu(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilitySearchMenu(
&self,
accessibility_search_menu: Option<&AnyObject>,
)
unsafe fn setAccessibilitySearchMenu( &self, accessibility_search_menu: Option<&AnyObject>, )
accessibilitySearchMenu.unsafe fn isAccessibilitySelected(&self) -> bool
Source§unsafe fn setAccessibilitySelected(&self, accessibility_selected: bool)
unsafe fn setAccessibilitySelected(&self, accessibility_selected: bool)
isAccessibilitySelected.unsafe fn accessibilitySelectedChildren(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilitySelectedChildren(
&self,
accessibility_selected_children: Option<&NSArray>,
)
unsafe fn setAccessibilitySelectedChildren( &self, accessibility_selected_children: Option<&NSArray>, )
accessibilitySelectedChildren.unsafe fn accessibilityServesAsTitleForUIElements( &self, ) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityServesAsTitleForUIElements(
&self,
accessibility_serves_as_title_for_ui_elements: Option<&NSArray>,
)
unsafe fn setAccessibilityServesAsTitleForUIElements( &self, accessibility_serves_as_title_for_ui_elements: Option<&NSArray>, )
accessibilityServesAsTitleForUIElements.unsafe fn accessibilityShownMenu(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityShownMenu(
&self,
accessibility_shown_menu: Option<&AnyObject>,
)
unsafe fn setAccessibilityShownMenu( &self, accessibility_shown_menu: Option<&AnyObject>, )
accessibilityShownMenu.unsafe fn accessibilityMinValue(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityMinValue(
&self,
accessibility_min_value: Option<&AnyObject>,
)
unsafe fn setAccessibilityMinValue( &self, accessibility_min_value: Option<&AnyObject>, )
accessibilityMinValue.unsafe fn accessibilityMaxValue(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityMaxValue(
&self,
accessibility_max_value: Option<&AnyObject>,
)
unsafe fn setAccessibilityMaxValue( &self, accessibility_max_value: Option<&AnyObject>, )
accessibilityMaxValue.unsafe fn accessibilityLinkedUIElements(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityLinkedUIElements(
&self,
accessibility_linked_ui_elements: Option<&NSArray>,
)
unsafe fn setAccessibilityLinkedUIElements( &self, accessibility_linked_ui_elements: Option<&NSArray>, )
accessibilityLinkedUIElements.unsafe fn accessibilityWindow(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityWindow(
&self,
accessibility_window: Option<&AnyObject>,
)
unsafe fn setAccessibilityWindow( &self, accessibility_window: Option<&AnyObject>, )
accessibilityWindow.unsafe fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityIdentifier(
&self,
accessibility_identifier: Option<&NSString>,
)
unsafe fn setAccessibilityIdentifier( &self, accessibility_identifier: Option<&NSString>, )
accessibilityIdentifier.unsafe fn accessibilityHelp(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityHelp(&self, accessibility_help: Option<&NSString>)
unsafe fn setAccessibilityHelp(&self, accessibility_help: Option<&NSString>)
accessibilityHelp.unsafe fn accessibilityFilename(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityFilename(
&self,
accessibility_filename: Option<&NSString>,
)
unsafe fn setAccessibilityFilename( &self, accessibility_filename: Option<&NSString>, )
accessibilityFilename.unsafe fn isAccessibilityExpanded(&self) -> bool
Source§unsafe fn setAccessibilityExpanded(&self, accessibility_expanded: bool)
unsafe fn setAccessibilityExpanded(&self, accessibility_expanded: bool)
isAccessibilityExpanded.unsafe fn isAccessibilityEdited(&self) -> bool
Source§unsafe fn setAccessibilityEdited(&self, accessibility_edited: bool)
unsafe fn setAccessibilityEdited(&self, accessibility_edited: bool)
isAccessibilityEdited.unsafe fn isAccessibilityEnabled(&self) -> bool
Source§unsafe fn setAccessibilityEnabled(&self, accessibility_enabled: bool)
unsafe fn setAccessibilityEnabled(&self, accessibility_enabled: bool)
isAccessibilityEnabled.unsafe fn accessibilityChildren(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityChildren(
&self,
accessibility_children: Option<&NSArray>,
)
unsafe fn setAccessibilityChildren( &self, accessibility_children: Option<&NSArray>, )
accessibilityChildren.accessibilityChildrenInNavigationOrder.unsafe fn accessibilityClearButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityClearButton(
&self,
accessibility_clear_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityClearButton( &self, accessibility_clear_button: Option<&AnyObject>, )
accessibilityClearButton.unsafe fn accessibilityCancelButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityCancelButton(
&self,
accessibility_cancel_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityCancelButton( &self, accessibility_cancel_button: Option<&AnyObject>, )
accessibilityCancelButton.unsafe fn isAccessibilityProtectedContent(&self) -> bool
Source§unsafe fn setAccessibilityProtectedContent(
&self,
accessibility_protected_content: bool,
)
unsafe fn setAccessibilityProtectedContent( &self, accessibility_protected_content: bool, )
isAccessibilityProtectedContent.unsafe fn accessibilityContents(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityContents(
&self,
accessibility_contents: Option<&NSArray>,
)
unsafe fn setAccessibilityContents( &self, accessibility_contents: Option<&NSArray>, )
accessibilityContents.unsafe fn accessibilityLabel(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityLabel(&self, accessibility_label: Option<&NSString>)
unsafe fn setAccessibilityLabel(&self, accessibility_label: Option<&NSString>)
accessibilityLabel.unsafe fn isAccessibilityAlternateUIVisible(&self) -> bool
Source§unsafe fn setAccessibilityAlternateUIVisible(
&self,
accessibility_alternate_ui_visible: bool,
)
unsafe fn setAccessibilityAlternateUIVisible( &self, accessibility_alternate_ui_visible: bool, )
isAccessibilityAlternateUIVisible.accessibilitySharedFocusElements.unsafe fn isAccessibilityRequired(&self) -> bool
Source§unsafe fn setAccessibilityRequired(&self, accessibility_required: bool)
unsafe fn setAccessibilityRequired(&self, accessibility_required: bool)
isAccessibilityRequired.Source§unsafe fn accessibilityCustomRotors(
&self,
) -> Retained<NSArray<NSAccessibilityCustomRotor>>
unsafe fn accessibilityCustomRotors( &self, ) -> Retained<NSArray<NSAccessibilityCustomRotor>>
NSAccessibilityCustomRotor only.Source§unsafe fn setAccessibilityCustomRotors(
&self,
accessibility_custom_rotors: &NSArray<NSAccessibilityCustomRotor>,
)
unsafe fn setAccessibilityCustomRotors( &self, accessibility_custom_rotors: &NSArray<NSAccessibilityCustomRotor>, )
NSAccessibilityCustomRotor only.accessibilityCustomRotors.unsafe fn accessibilityUserInputLabels( &self, ) -> Option<Retained<NSArray<NSString>>>
Source§unsafe fn setAccessibilityUserInputLabels(
&self,
accessibility_user_input_labels: Option<&NSArray<NSString>>,
)
unsafe fn setAccessibilityUserInputLabels( &self, accessibility_user_input_labels: Option<&NSArray<NSString>>, )
accessibilityUserInputLabels.unsafe fn accessibilityAttributedUserInputLabels( &self, ) -> Option<Retained<NSArray<NSAttributedString>>>
Source§unsafe fn setAccessibilityAttributedUserInputLabels(
&self,
accessibility_attributed_user_input_labels: Option<&NSArray<NSAttributedString>>,
)
unsafe fn setAccessibilityAttributedUserInputLabels( &self, accessibility_attributed_user_input_labels: Option<&NSArray<NSAttributedString>>, )
accessibilityAttributedUserInputLabels.unsafe fn accessibilityApplicationFocusedUIElement( &self, ) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityApplicationFocusedUIElement(
&self,
accessibility_application_focused_ui_element: Option<&AnyObject>,
)
unsafe fn setAccessibilityApplicationFocusedUIElement( &self, accessibility_application_focused_ui_element: Option<&AnyObject>, )
accessibilityApplicationFocusedUIElement.unsafe fn accessibilityMainWindow(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityMainWindow(
&self,
accessibility_main_window: Option<&AnyObject>,
)
unsafe fn setAccessibilityMainWindow( &self, accessibility_main_window: Option<&AnyObject>, )
accessibilityMainWindow.unsafe fn isAccessibilityHidden(&self) -> bool
Source§unsafe fn setAccessibilityHidden(&self, accessibility_hidden: bool)
unsafe fn setAccessibilityHidden(&self, accessibility_hidden: bool)
isAccessibilityHidden.unsafe fn isAccessibilityFrontmost(&self) -> bool
Source§unsafe fn setAccessibilityFrontmost(&self, accessibility_frontmost: bool)
unsafe fn setAccessibilityFrontmost(&self, accessibility_frontmost: bool)
isAccessibilityFrontmost.unsafe fn accessibilityFocusedWindow(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityFocusedWindow(
&self,
accessibility_focused_window: Option<&AnyObject>,
)
unsafe fn setAccessibilityFocusedWindow( &self, accessibility_focused_window: Option<&AnyObject>, )
accessibilityFocusedWindow.unsafe fn accessibilityWindows(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityWindows(
&self,
accessibility_windows: Option<&NSArray>,
)
unsafe fn setAccessibilityWindows( &self, accessibility_windows: Option<&NSArray>, )
accessibilityWindows.unsafe fn accessibilityExtrasMenuBar(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityExtrasMenuBar(
&self,
accessibility_extras_menu_bar: Option<&AnyObject>,
)
unsafe fn setAccessibilityExtrasMenuBar( &self, accessibility_extras_menu_bar: Option<&AnyObject>, )
accessibilityExtrasMenuBar.unsafe fn accessibilityMenuBar(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityMenuBar(
&self,
accessibility_menu_bar: Option<&AnyObject>,
)
unsafe fn setAccessibilityMenuBar( &self, accessibility_menu_bar: Option<&AnyObject>, )
accessibilityMenuBar.unsafe fn accessibilityColumnTitles(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityColumnTitles(
&self,
accessibility_column_titles: Option<&NSArray>,
)
unsafe fn setAccessibilityColumnTitles( &self, accessibility_column_titles: Option<&NSArray>, )
accessibilityColumnTitles.unsafe fn isAccessibilityOrderedByRow(&self) -> bool
Source§unsafe fn setAccessibilityOrderedByRow(
&self,
accessibility_ordered_by_row: bool,
)
unsafe fn setAccessibilityOrderedByRow( &self, accessibility_ordered_by_row: bool, )
isAccessibilityOrderedByRow.Source§unsafe fn accessibilityHorizontalUnits(&self) -> NSAccessibilityUnits
unsafe fn accessibilityHorizontalUnits(&self) -> NSAccessibilityUnits
NSAccessibilityConstants only.Source§unsafe fn setAccessibilityHorizontalUnits(
&self,
accessibility_horizontal_units: NSAccessibilityUnits,
)
unsafe fn setAccessibilityHorizontalUnits( &self, accessibility_horizontal_units: NSAccessibilityUnits, )
NSAccessibilityConstants only.accessibilityHorizontalUnits.Source§unsafe fn accessibilityVerticalUnits(&self) -> NSAccessibilityUnits
unsafe fn accessibilityVerticalUnits(&self) -> NSAccessibilityUnits
NSAccessibilityConstants only.Source§unsafe fn setAccessibilityVerticalUnits(
&self,
accessibility_vertical_units: NSAccessibilityUnits,
)
unsafe fn setAccessibilityVerticalUnits( &self, accessibility_vertical_units: NSAccessibilityUnits, )
NSAccessibilityConstants only.accessibilityVerticalUnits.unsafe fn accessibilityHorizontalUnitDescription( &self, ) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityHorizontalUnitDescription(
&self,
accessibility_horizontal_unit_description: Option<&NSString>,
)
unsafe fn setAccessibilityHorizontalUnitDescription( &self, accessibility_horizontal_unit_description: Option<&NSString>, )
accessibilityHorizontalUnitDescription.unsafe fn accessibilityVerticalUnitDescription( &self, ) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityVerticalUnitDescription(
&self,
accessibility_vertical_unit_description: Option<&NSString>,
)
unsafe fn setAccessibilityVerticalUnitDescription( &self, accessibility_vertical_unit_description: Option<&NSString>, )
accessibilityVerticalUnitDescription.unsafe fn accessibilityLayoutPointForScreenPoint( &self, point: NSPoint, ) -> NSPoint
unsafe fn accessibilityLayoutSizeForScreenSize(&self, size: NSSize) -> NSSize
unsafe fn accessibilityScreenPointForLayoutPoint( &self, point: NSPoint, ) -> NSPoint
unsafe fn accessibilityScreenSizeForLayoutSize(&self, size: NSSize) -> NSSize
unsafe fn accessibilityHandles(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityHandles(
&self,
accessibility_handles: Option<&NSArray>,
)
unsafe fn setAccessibilityHandles( &self, accessibility_handles: Option<&NSArray>, )
accessibilityHandles.unsafe fn accessibilityWarningValue(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityWarningValue(
&self,
accessibility_warning_value: Option<&AnyObject>,
)
unsafe fn setAccessibilityWarningValue( &self, accessibility_warning_value: Option<&AnyObject>, )
accessibilityWarningValue.unsafe fn accessibilityCriticalValue(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityCriticalValue(
&self,
accessibility_critical_value: Option<&AnyObject>,
)
unsafe fn setAccessibilityCriticalValue( &self, accessibility_critical_value: Option<&AnyObject>, )
accessibilityCriticalValue.unsafe fn isAccessibilityDisclosed(&self) -> bool
Source§unsafe fn setAccessibilityDisclosed(&self, accessibility_disclosed: bool)
unsafe fn setAccessibilityDisclosed(&self, accessibility_disclosed: bool)
isAccessibilityDisclosed.unsafe fn accessibilityDisclosedByRow(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityDisclosedByRow(
&self,
accessibility_disclosed_by_row: Option<&AnyObject>,
)
unsafe fn setAccessibilityDisclosedByRow( &self, accessibility_disclosed_by_row: Option<&AnyObject>, )
accessibilityDisclosedByRow.unsafe fn accessibilityDisclosedRows(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityDisclosedRows(
&self,
accessibility_disclosed_rows: Option<&AnyObject>,
)
unsafe fn setAccessibilityDisclosedRows( &self, accessibility_disclosed_rows: Option<&AnyObject>, )
accessibilityDisclosedRows.unsafe fn accessibilityDisclosureLevel(&self) -> NSInteger
Source§unsafe fn setAccessibilityDisclosureLevel(
&self,
accessibility_disclosure_level: NSInteger,
)
unsafe fn setAccessibilityDisclosureLevel( &self, accessibility_disclosure_level: NSInteger, )
accessibilityDisclosureLevel.unsafe fn accessibilityMarkerUIElements(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityMarkerUIElements(
&self,
accessibility_marker_ui_elements: Option<&NSArray>,
)
unsafe fn setAccessibilityMarkerUIElements( &self, accessibility_marker_ui_elements: Option<&NSArray>, )
accessibilityMarkerUIElements.unsafe fn accessibilityMarkerValues(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityMarkerValues(
&self,
accessibility_marker_values: Option<&AnyObject>,
)
unsafe fn setAccessibilityMarkerValues( &self, accessibility_marker_values: Option<&AnyObject>, )
accessibilityMarkerValues.unsafe fn accessibilityMarkerGroupUIElement( &self, ) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityMarkerGroupUIElement(
&self,
accessibility_marker_group_ui_element: Option<&AnyObject>,
)
unsafe fn setAccessibilityMarkerGroupUIElement( &self, accessibility_marker_group_ui_element: Option<&AnyObject>, )
accessibilityMarkerGroupUIElement.Source§unsafe fn accessibilityUnits(&self) -> NSAccessibilityUnits
unsafe fn accessibilityUnits(&self) -> NSAccessibilityUnits
NSAccessibilityConstants only.Source§unsafe fn setAccessibilityUnits(
&self,
accessibility_units: NSAccessibilityUnits,
)
unsafe fn setAccessibilityUnits( &self, accessibility_units: NSAccessibilityUnits, )
NSAccessibilityConstants only.accessibilityUnits.unsafe fn accessibilityUnitDescription(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityUnitDescription(
&self,
accessibility_unit_description: Option<&NSString>,
)
unsafe fn setAccessibilityUnitDescription( &self, accessibility_unit_description: Option<&NSString>, )
accessibilityUnitDescription.Source§unsafe fn accessibilityRulerMarkerType(&self) -> NSAccessibilityRulerMarkerType
unsafe fn accessibilityRulerMarkerType(&self) -> NSAccessibilityRulerMarkerType
NSAccessibilityConstants only.Source§unsafe fn setAccessibilityRulerMarkerType(
&self,
accessibility_ruler_marker_type: NSAccessibilityRulerMarkerType,
)
unsafe fn setAccessibilityRulerMarkerType( &self, accessibility_ruler_marker_type: NSAccessibilityRulerMarkerType, )
NSAccessibilityConstants only.accessibilityRulerMarkerType.unsafe fn accessibilityMarkerTypeDescription( &self, ) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityMarkerTypeDescription(
&self,
accessibility_marker_type_description: Option<&NSString>,
)
unsafe fn setAccessibilityMarkerTypeDescription( &self, accessibility_marker_type_description: Option<&NSString>, )
accessibilityMarkerTypeDescription.unsafe fn accessibilityHorizontalScrollBar(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityHorizontalScrollBar(
&self,
accessibility_horizontal_scroll_bar: Option<&AnyObject>,
)
unsafe fn setAccessibilityHorizontalScrollBar( &self, accessibility_horizontal_scroll_bar: Option<&AnyObject>, )
accessibilityHorizontalScrollBar.unsafe fn accessibilityVerticalScrollBar(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityVerticalScrollBar(
&self,
accessibility_vertical_scroll_bar: Option<&AnyObject>,
)
unsafe fn setAccessibilityVerticalScrollBar( &self, accessibility_vertical_scroll_bar: Option<&AnyObject>, )
accessibilityVerticalScrollBar.unsafe fn accessibilityAllowedValues( &self, ) -> Option<Retained<NSArray<NSNumber>>>
Source§unsafe fn setAccessibilityAllowedValues(
&self,
accessibility_allowed_values: Option<&NSArray<NSNumber>>,
)
unsafe fn setAccessibilityAllowedValues( &self, accessibility_allowed_values: Option<&NSArray<NSNumber>>, )
accessibilityAllowedValues.unsafe fn accessibilityLabelUIElements(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityLabelUIElements(
&self,
accessibility_label_ui_elements: Option<&NSArray>,
)
unsafe fn setAccessibilityLabelUIElements( &self, accessibility_label_ui_elements: Option<&NSArray>, )
accessibilityLabelUIElements.unsafe fn accessibilityLabelValue(&self) -> c_float
Source§unsafe fn setAccessibilityLabelValue(&self, accessibility_label_value: c_float)
unsafe fn setAccessibilityLabelValue(&self, accessibility_label_value: c_float)
accessibilityLabelValue.unsafe fn accessibilitySplitters(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilitySplitters(
&self,
accessibility_splitters: Option<&NSArray>,
)
unsafe fn setAccessibilitySplitters( &self, accessibility_splitters: Option<&NSArray>, )
accessibilitySplitters.unsafe fn accessibilityDecrementButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityDecrementButton(
&self,
accessibility_decrement_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityDecrementButton( &self, accessibility_decrement_button: Option<&AnyObject>, )
accessibilityDecrementButton.unsafe fn accessibilityIncrementButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityIncrementButton(
&self,
accessibility_increment_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityIncrementButton( &self, accessibility_increment_button: Option<&AnyObject>, )
accessibilityIncrementButton.unsafe fn accessibilityTabs(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityTabs(&self, accessibility_tabs: Option<&NSArray>)
unsafe fn setAccessibilityTabs(&self, accessibility_tabs: Option<&NSArray>)
accessibilityTabs.unsafe fn accessibilityHeader(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityHeader(
&self,
accessibility_header: Option<&AnyObject>,
)
unsafe fn setAccessibilityHeader( &self, accessibility_header: Option<&AnyObject>, )
accessibilityHeader.unsafe fn accessibilityColumnCount(&self) -> NSInteger
Source§unsafe fn setAccessibilityColumnCount(
&self,
accessibility_column_count: NSInteger,
)
unsafe fn setAccessibilityColumnCount( &self, accessibility_column_count: NSInteger, )
accessibilityColumnCount.unsafe fn accessibilityRowCount(&self) -> NSInteger
Source§unsafe fn setAccessibilityRowCount(&self, accessibility_row_count: NSInteger)
unsafe fn setAccessibilityRowCount(&self, accessibility_row_count: NSInteger)
accessibilityRowCount.unsafe fn accessibilityIndex(&self) -> NSInteger
Source§unsafe fn setAccessibilityIndex(&self, accessibility_index: NSInteger)
unsafe fn setAccessibilityIndex(&self, accessibility_index: NSInteger)
accessibilityIndex.unsafe fn accessibilityColumns(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityColumns(
&self,
accessibility_columns: Option<&NSArray>,
)
unsafe fn setAccessibilityColumns( &self, accessibility_columns: Option<&NSArray>, )
accessibilityColumns.unsafe fn accessibilityRows(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityRows(&self, accessibility_rows: Option<&NSArray>)
unsafe fn setAccessibilityRows(&self, accessibility_rows: Option<&NSArray>)
accessibilityRows.unsafe fn accessibilityVisibleRows(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityVisibleRows(
&self,
accessibility_visible_rows: Option<&NSArray>,
)
unsafe fn setAccessibilityVisibleRows( &self, accessibility_visible_rows: Option<&NSArray>, )
accessibilityVisibleRows.unsafe fn accessibilitySelectedRows(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilitySelectedRows(
&self,
accessibility_selected_rows: Option<&NSArray>,
)
unsafe fn setAccessibilitySelectedRows( &self, accessibility_selected_rows: Option<&NSArray>, )
accessibilitySelectedRows.unsafe fn accessibilityVisibleColumns(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityVisibleColumns(
&self,
accessibility_visible_columns: Option<&NSArray>,
)
unsafe fn setAccessibilityVisibleColumns( &self, accessibility_visible_columns: Option<&NSArray>, )
accessibilityVisibleColumns.unsafe fn accessibilitySelectedColumns(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilitySelectedColumns(
&self,
accessibility_selected_columns: Option<&NSArray>,
)
unsafe fn setAccessibilitySelectedColumns( &self, accessibility_selected_columns: Option<&NSArray>, )
accessibilitySelectedColumns.Source§unsafe fn accessibilitySortDirection(&self) -> NSAccessibilitySortDirection
unsafe fn accessibilitySortDirection(&self) -> NSAccessibilitySortDirection
NSAccessibilityConstants only.Source§unsafe fn setAccessibilitySortDirection(
&self,
accessibility_sort_direction: NSAccessibilitySortDirection,
)
unsafe fn setAccessibilitySortDirection( &self, accessibility_sort_direction: NSAccessibilitySortDirection, )
NSAccessibilityConstants only.accessibilitySortDirection.unsafe fn accessibilityRowHeaderUIElements(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityRowHeaderUIElements(
&self,
accessibility_row_header_ui_elements: Option<&NSArray>,
)
unsafe fn setAccessibilityRowHeaderUIElements( &self, accessibility_row_header_ui_elements: Option<&NSArray>, )
accessibilityRowHeaderUIElements.unsafe fn accessibilitySelectedCells(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilitySelectedCells(
&self,
accessibility_selected_cells: Option<&NSArray>,
)
unsafe fn setAccessibilitySelectedCells( &self, accessibility_selected_cells: Option<&NSArray>, )
accessibilitySelectedCells.unsafe fn accessibilityVisibleCells(&self) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityVisibleCells(
&self,
accessibility_visible_cells: Option<&NSArray>,
)
unsafe fn setAccessibilityVisibleCells( &self, accessibility_visible_cells: Option<&NSArray>, )
accessibilityVisibleCells.unsafe fn accessibilityColumnHeaderUIElements( &self, ) -> Option<Retained<NSArray>>
Source§unsafe fn setAccessibilityColumnHeaderUIElements(
&self,
accessibility_column_header_ui_elements: Option<&NSArray>,
)
unsafe fn setAccessibilityColumnHeaderUIElements( &self, accessibility_column_header_ui_elements: Option<&NSArray>, )
accessibilityColumnHeaderUIElements.unsafe fn accessibilityCellForColumn_row( &self, column: NSInteger, row: NSInteger, ) -> Option<Retained<AnyObject>>
unsafe fn accessibilityRowIndexRange(&self) -> NSRange
Source§unsafe fn setAccessibilityRowIndexRange(
&self,
accessibility_row_index_range: NSRange,
)
unsafe fn setAccessibilityRowIndexRange( &self, accessibility_row_index_range: NSRange, )
accessibilityRowIndexRange.unsafe fn accessibilityColumnIndexRange(&self) -> NSRange
Source§unsafe fn setAccessibilityColumnIndexRange(
&self,
accessibility_column_index_range: NSRange,
)
unsafe fn setAccessibilityColumnIndexRange( &self, accessibility_column_index_range: NSRange, )
accessibilityColumnIndexRange.unsafe fn accessibilityInsertionPointLineNumber(&self) -> NSInteger
Source§unsafe fn setAccessibilityInsertionPointLineNumber(
&self,
accessibility_insertion_point_line_number: NSInteger,
)
unsafe fn setAccessibilityInsertionPointLineNumber( &self, accessibility_insertion_point_line_number: NSInteger, )
accessibilityInsertionPointLineNumber.accessibilitySharedCharacterRange.accessibilitySharedTextUIElements.unsafe fn accessibilityVisibleCharacterRange(&self) -> NSRange
Source§unsafe fn setAccessibilityVisibleCharacterRange(
&self,
accessibility_visible_character_range: NSRange,
)
unsafe fn setAccessibilityVisibleCharacterRange( &self, accessibility_visible_character_range: NSRange, )
accessibilityVisibleCharacterRange.unsafe fn accessibilityNumberOfCharacters(&self) -> NSInteger
Source§unsafe fn setAccessibilityNumberOfCharacters(
&self,
accessibility_number_of_characters: NSInteger,
)
unsafe fn setAccessibilityNumberOfCharacters( &self, accessibility_number_of_characters: NSInteger, )
accessibilityNumberOfCharacters.unsafe fn accessibilitySelectedText(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilitySelectedText(
&self,
accessibility_selected_text: Option<&NSString>,
)
unsafe fn setAccessibilitySelectedText( &self, accessibility_selected_text: Option<&NSString>, )
accessibilitySelectedText.unsafe fn accessibilitySelectedTextRange(&self) -> NSRange
Source§unsafe fn setAccessibilitySelectedTextRange(
&self,
accessibility_selected_text_range: NSRange,
)
unsafe fn setAccessibilitySelectedTextRange( &self, accessibility_selected_text_range: NSRange, )
accessibilitySelectedTextRange.unsafe fn accessibilitySelectedTextRanges( &self, ) -> Option<Retained<NSArray<NSValue>>>
Source§unsafe fn setAccessibilitySelectedTextRanges(
&self,
accessibility_selected_text_ranges: Option<&NSArray<NSValue>>,
)
unsafe fn setAccessibilitySelectedTextRanges( &self, accessibility_selected_text_ranges: Option<&NSArray<NSValue>>, )
accessibilitySelectedTextRanges.unsafe fn accessibilityAttributedStringForRange( &self, range: NSRange, ) -> Option<Retained<NSAttributedString>>
unsafe fn accessibilityRangeForLine(&self, line: NSInteger) -> NSRange
unsafe fn accessibilityStringForRange( &self, range: NSRange, ) -> Option<Retained<NSString>>
unsafe fn accessibilityRangeForPosition(&self, point: NSPoint) -> NSRange
unsafe fn accessibilityRangeForIndex(&self, index: NSInteger) -> NSRange
unsafe fn accessibilityFrameForRange(&self, range: NSRange) -> NSRect
unsafe fn accessibilityRTFForRange( &self, range: NSRange, ) -> Option<Retained<NSData>>
unsafe fn accessibilityStyleRangeForIndex(&self, index: NSInteger) -> NSRange
unsafe fn accessibilityLineForIndex(&self, index: NSInteger) -> NSInteger
unsafe fn accessibilityToolbarButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityToolbarButton(
&self,
accessibility_toolbar_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityToolbarButton( &self, accessibility_toolbar_button: Option<&AnyObject>, )
accessibilityToolbarButton.unsafe fn isAccessibilityModal(&self) -> bool
Source§unsafe fn setAccessibilityModal(&self, accessibility_modal: bool)
unsafe fn setAccessibilityModal(&self, accessibility_modal: bool)
isAccessibilityModal.unsafe fn accessibilityProxy(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityProxy(&self, accessibility_proxy: Option<&AnyObject>)
unsafe fn setAccessibilityProxy(&self, accessibility_proxy: Option<&AnyObject>)
accessibilityProxy.unsafe fn isAccessibilityMain(&self) -> bool
Source§unsafe fn setAccessibilityMain(&self, accessibility_main: bool)
unsafe fn setAccessibilityMain(&self, accessibility_main: bool)
isAccessibilityMain.unsafe fn accessibilityFullScreenButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityFullScreenButton(
&self,
accessibility_full_screen_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityFullScreenButton( &self, accessibility_full_screen_button: Option<&AnyObject>, )
accessibilityFullScreenButton.unsafe fn accessibilityGrowArea(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityGrowArea(
&self,
accessibility_grow_area: Option<&AnyObject>,
)
unsafe fn setAccessibilityGrowArea( &self, accessibility_grow_area: Option<&AnyObject>, )
accessibilityGrowArea.unsafe fn accessibilityDocument(&self) -> Option<Retained<NSString>>
Source§unsafe fn setAccessibilityDocument(
&self,
accessibility_document: Option<&NSString>,
)
unsafe fn setAccessibilityDocument( &self, accessibility_document: Option<&NSString>, )
accessibilityDocument.unsafe fn accessibilityDefaultButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityDefaultButton(
&self,
accessibility_default_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityDefaultButton( &self, accessibility_default_button: Option<&AnyObject>, )
accessibilityDefaultButton.unsafe fn accessibilityCloseButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityCloseButton(
&self,
accessibility_close_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityCloseButton( &self, accessibility_close_button: Option<&AnyObject>, )
accessibilityCloseButton.unsafe fn accessibilityZoomButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityZoomButton(
&self,
accessibility_zoom_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityZoomButton( &self, accessibility_zoom_button: Option<&AnyObject>, )
accessibilityZoomButton.unsafe fn accessibilityMinimizeButton(&self) -> Option<Retained<AnyObject>>
Source§unsafe fn setAccessibilityMinimizeButton(
&self,
accessibility_minimize_button: Option<&AnyObject>,
)
unsafe fn setAccessibilityMinimizeButton( &self, accessibility_minimize_button: Option<&AnyObject>, )
accessibilityMinimizeButton.unsafe fn isAccessibilityMinimized(&self) -> bool
Source§unsafe fn setAccessibilityMinimized(&self, accessibility_minimized: bool)
unsafe fn setAccessibilityMinimized(&self, accessibility_minimized: bool)
isAccessibilityMinimized.Source§unsafe fn accessibilityCustomActions(
&self,
) -> Option<Retained<NSArray<NSAccessibilityCustomAction>>>
unsafe fn accessibilityCustomActions( &self, ) -> Option<Retained<NSArray<NSAccessibilityCustomAction>>>
NSAccessibilityCustomAction only.Source§unsafe fn setAccessibilityCustomActions(
&self,
accessibility_custom_actions: Option<&NSArray<NSAccessibilityCustomAction>>,
)
unsafe fn setAccessibilityCustomActions( &self, accessibility_custom_actions: Option<&NSArray<NSAccessibilityCustomAction>>, )
NSAccessibilityCustomAction only.accessibilityCustomActions.unsafe fn accessibilityPerformCancel(&self) -> bool
unsafe fn accessibilityPerformConfirm(&self) -> bool
unsafe fn accessibilityPerformDecrement(&self) -> bool
unsafe fn accessibilityPerformDelete(&self) -> bool
unsafe fn accessibilityPerformIncrement(&self) -> bool
unsafe fn accessibilityPerformPick(&self) -> bool
unsafe fn accessibilityPerformPress(&self) -> bool
unsafe fn accessibilityPerformRaise(&self) -> bool
unsafe fn accessibilityPerformShowAlternateUI(&self) -> bool
unsafe fn accessibilityPerformShowDefaultUI(&self) -> bool
unsafe fn accessibilityPerformShowMenu(&self) -> bool
unsafe fn isAccessibilitySelectorAllowed(&self, selector: Sel) -> bool
Source§impl NSAccessibilityElementProtocol for NSCell
Available on crate feature NSAccessibilityProtocols only.
impl NSAccessibilityElementProtocol for NSCell
NSAccessibilityProtocols only.unsafe fn accessibilityFrame(&self) -> NSRect
unsafe fn accessibilityParent(&self) -> Option<Retained<AnyObject>>
unsafe fn isAccessibilityFocused(&self) -> bool
unsafe fn accessibilityIdentifier(&self) -> Retained<NSString>
Source§impl NSCopying for NSCell
impl NSCopying for NSCell
Source§impl NSObjectProtocol for NSCell
impl NSObjectProtocol for NSCell
Source§fn isEqual(&self, other: Option<&AnyObject>) -> bool
fn isEqual(&self, other: Option<&AnyObject>) -> bool
Source§fn hash(&self) -> usize
fn hash(&self) -> usize
Source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
Source§fn is_kind_of<T>(&self) -> bool
fn is_kind_of<T>(&self) -> bool
isKindOfClass directly, or cast your objects with AnyObject::downcast_refSource§fn isMemberOfClass(&self, cls: &AnyClass) -> bool
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
Source§fn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
Source§fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
Source§fn debugDescription(&self) -> Retained<NSObject>
fn debugDescription(&self) -> Retained<NSObject>
Source§impl NSUserInterfaceItemIdentification for NSCell
Available on crate feature NSUserInterfaceItemIdentification only.
impl NSUserInterfaceItemIdentification for NSCell
NSUserInterfaceItemIdentification only.unsafe fn identifier(&self) -> Option<Retained<NSUserInterfaceItemIdentifier>>
Source§unsafe fn setIdentifier(
&self,
identifier: Option<&NSUserInterfaceItemIdentifier>,
)
unsafe fn setIdentifier( &self, identifier: Option<&NSUserInterfaceItemIdentifier>, )
identifier.Source§impl RefEncode for NSCell
impl RefEncode for NSCell
Source§const ENCODING_REF: Encoding = <NSObject as ::objc2::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <NSObject as ::objc2::RefEncode>::ENCODING_REF
impl DowncastTarget for NSCell
impl Eq for NSCell
Auto Trait Implementations§
impl !Freeze for NSCell
impl !RefUnwindSafe for NSCell
impl !Send for NSCell
impl !Sync for NSCell
impl !Unpin for NSCell
impl !UnwindSafe for NSCell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<'a, T> MainThreadOnly for T
impl<'a, T> MainThreadOnly for T
Source§fn mtm(&self) -> MainThreadMarker
fn mtm(&self) -> MainThreadMarker
MainThreadMarker from the main-thread-only object. Read more