pub trait WKWebViewConfiguration: Sized {
    // Required methods
    unsafe fn init(self) -> id;
    unsafe fn setUserContentController(self, controller: id);

    // Provided method
    unsafe fn alloc(_: Self) -> id { ... }
}

Required Methods§

source

unsafe fn init(self) -> id

Safety

All the FFI functions are unsafe

source

unsafe fn setUserContentController(self, controller: id)

Safety

All the FFI functions are unsafe. id should point to a WKUserContentController

Provided Methods§

source

unsafe fn alloc(_: Self) -> id

Safety

All the FFI functions are unsafe

Implementations on Foreign Types§

source§

impl WKWebViewConfiguration for id

source§

unsafe fn init(self) -> id

source§

unsafe fn setUserContentController(self, controller: id)

Implementors§