Skip to main content

NSDatePickerCellDelegate

Trait NSDatePickerCellDelegate 

Source
pub unsafe trait NSDatePickerCellDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided method
    unsafe fn datePickerCell_validateProposedDateValue_timeInterval(
        &self,
        date_picker_cell: &NSDatePickerCell,
        proposed_date_value: &mut Retained<NSDate>,
        proposed_time_interval: *mut NSTimeInterval,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSDatePickerCell only.
Expand description

Provided Methods§

Source

unsafe fn datePickerCell_validateProposedDateValue_timeInterval( &self, date_picker_cell: &NSDatePickerCell, proposed_date_value: &mut Retained<NSDate>, proposed_time_interval: *mut NSTimeInterval, )
where Self: Sized + Message,

Available on crate features NSActionCell and NSCell only.
§Safety

proposed_time_interval must be a valid pointer or null.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSDatePickerCellDelegate

Source§

impl ProtocolType for dyn NSDatePickerCellDelegate

Source§

const NAME: &'static str = "NSDatePickerCellDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSDatePickerCellDelegate for ProtocolObject<T>

Implementors§