pub unsafe trait NSComboBoxCellDataSource: NSObjectProtocol {
// Provided methods
fn numberOfItemsInComboBoxCell(
&self,
combo_box_cell: &NSComboBoxCell,
) -> NSInteger
where Self: Sized + Message { ... }
fn comboBoxCell_objectValueForItemAtIndex(
&self,
combo_box_cell: &NSComboBoxCell,
index: NSInteger,
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
fn comboBoxCell_indexOfItemWithStringValue(
&self,
combo_box_cell: &NSComboBoxCell,
string: &NSString,
) -> NSUInteger
where Self: Sized + Message { ... }
fn comboBoxCell_completedString(
&self,
combo_box_cell: &NSComboBoxCell,
uncompleted_string: &NSString,
) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
}Available on crate feature
NSComboBoxCell only.Expand description
Provided Methods§
fn numberOfItemsInComboBoxCell( &self, combo_box_cell: &NSComboBoxCell, ) -> NSInteger
Available on crate features
NSActionCell and NSCell and NSTextFieldCell only.fn comboBoxCell_objectValueForItemAtIndex( &self, combo_box_cell: &NSComboBoxCell, index: NSInteger, ) -> Retained<AnyObject>
Available on crate features
NSActionCell and NSCell and NSTextFieldCell only.fn comboBoxCell_indexOfItemWithStringValue( &self, combo_box_cell: &NSComboBoxCell, string: &NSString, ) -> NSUInteger
Available on crate features
NSActionCell and NSCell and NSTextFieldCell only.fn comboBoxCell_completedString( &self, combo_box_cell: &NSComboBoxCell, uncompleted_string: &NSString, ) -> Option<Retained<NSString>>
Available on crate features
NSActionCell and NSCell and NSTextFieldCell only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSComboBoxCellDataSource
Source§impl ProtocolType for dyn NSComboBoxCellDataSource
impl ProtocolType for dyn NSComboBoxCellDataSource
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".