Trait objc2_web_kit::WebDocumentView

source ยท
pub unsafe trait WebDocumentView: NSObjectProtocol {
    // Provided methods
    unsafe fn setDataSource(&self, data_source: Option<&WebDataSource>)
       where Self: Sized + Message { ... }
    unsafe fn dataSourceUpdated(&self, data_source: Option<&WebDataSource>)
       where Self: Sized + Message { ... }
    unsafe fn setNeedsLayout(&self, flag: bool)
       where Self: Sized + Message { ... }
    unsafe fn layout(&self)
       where Self: Sized + Message { ... }
    unsafe fn viewWillMoveToHostWindow(&self, host_window: Option<&NSWindow>)
       where Self: Sized + Message { ... }
    unsafe fn viewDidMoveToHostWindow(&self)
       where Self: Sized + Message { ... }
}
๐Ÿ‘ŽDeprecated
Available on crate feature WebDocument only.

Provided Methodsยง

source

unsafe fn setDataSource(&self, data_source: Option<&WebDataSource>)
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebDataSource only.
source

unsafe fn dataSourceUpdated(&self, data_source: Option<&WebDataSource>)
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebDataSource only.
source

unsafe fn setNeedsLayout(&self, flag: bool)
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
source

unsafe fn layout(&self)
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
source

unsafe fn viewWillMoveToHostWindow(&self, host_window: Option<&NSWindow>)
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature objc2-app-kit and macOS only.
source

unsafe fn viewDidMoveToHostWindow(&self)
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated

Trait Implementationsยง

sourceยง

impl ProtocolType for dyn WebDocumentView

sourceยง

const NAME: &'static str = "WebDocumentView"

The name of the Objective-C protocol that this type represents.
sourceยง

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

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

impl<T> ImplementedBy<T> for dyn WebDocumentView

Implementations on Foreign Typesยง

sourceยง

impl<T> WebDocumentView for ProtocolObject<T>
where T: ?Sized + WebDocumentView,

Implementorsยง