Skip to main content

WebEditingDelegate

Trait WebEditingDelegate 

Source
pub unsafe trait WebEditingDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn webViewDidBeginEditing(
        &self,
        notification: Option<&NSNotification>,
    )
       where Self: Sized + Message { ... }
    unsafe fn webViewDidChange(&self, notification: Option<&NSNotification>)
       where Self: Sized + Message { ... }
    unsafe fn webViewDidEndEditing(&self, notification: Option<&NSNotification>)
       where Self: Sized + Message { ... }
    unsafe fn webViewDidChangeTypingStyle(
        &self,
        notification: Option<&NSNotification>,
    )
       where Self: Sized + Message { ... }
    unsafe fn webViewDidChangeSelection(
        &self,
        notification: Option<&NSNotification>,
    )
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature WebEditingDelegate only.
Expand description

Provided Methods§

Source

unsafe fn webViewDidBeginEditing(&self, notification: Option<&NSNotification>)
where Self: Sized + Message,

👎Deprecated
§Safety

notification might not allow None.

Source

unsafe fn webViewDidChange(&self, notification: Option<&NSNotification>)
where Self: Sized + Message,

👎Deprecated
§Safety

notification might not allow None.

Source

unsafe fn webViewDidEndEditing(&self, notification: Option<&NSNotification>)
where Self: Sized + Message,

👎Deprecated
§Safety

notification might not allow None.

Source

unsafe fn webViewDidChangeTypingStyle( &self, notification: Option<&NSNotification>, )
where Self: Sized + Message,

👎Deprecated
§Safety

notification might not allow None.

Source

unsafe fn webViewDidChangeSelection( &self, notification: Option<&NSNotification>, )
where Self: Sized + Message,

👎Deprecated
§Safety

notification might not allow None.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn WebEditingDelegate

Source§

impl ProtocolType for dyn WebEditingDelegate

Source§

const NAME: &'static str = "WebEditingDelegate"

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> WebEditingDelegate for ProtocolObject<T>

Implementors§