Trait objc2_web_kit::NSObjectWebPlugIn

source ·
pub unsafe trait NSObjectWebPlugIn: ClassType {
    // Provided methods
    unsafe fn webPlugInInitialize(&self)
       where Self: Sized + Message { ... }
    unsafe fn webPlugInStart(&self)
       where Self: Sized + Message { ... }
    unsafe fn webPlugInStop(&self)
       where Self: Sized + Message { ... }
    unsafe fn webPlugInDestroy(&self)
       where Self: Sized + Message { ... }
    unsafe fn webPlugInSetIsSelected(&self, is_selected: bool)
       where Self: Sized + Message { ... }
    unsafe fn objectForWebScript(&self) -> Option<Retained<AnyObject>>
       where Self: Sized + Message { ... }
    unsafe fn webPlugInMainResourceDidReceiveResponse(
        &self,
        response: Option<&NSURLResponse>
    )
       where Self: Sized + Message { ... }
    unsafe fn webPlugInMainResourceDidReceiveData(&self, data: Option<&NSData>)
       where Self: Sized + Message { ... }
    unsafe fn webPlugInMainResourceDidFailWithError(
        &self,
        error: Option<&NSError>
    )
       where Self: Sized + Message { ... }
    unsafe fn webPlugInMainResourceDidFinishLoading(&self)
       where Self: Sized + Message { ... }
}
Available on crate feature WebPlugin only.
Expand description

Category “WebPlugIn” on NSObject.

Provided Methods§

source

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

source

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

source

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

source

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

source

unsafe fn webPlugInSetIsSelected(&self, is_selected: bool)
where Self: Sized + Message,

source

unsafe fn objectForWebScript(&self) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

source

unsafe fn webPlugInMainResourceDidReceiveResponse( &self, response: Option<&NSURLResponse> )
where Self: Sized + Message,

source

unsafe fn webPlugInMainResourceDidReceiveData(&self, data: Option<&NSData>)
where Self: Sized + Message,

source

unsafe fn webPlugInMainResourceDidFailWithError(&self, error: Option<&NSError>)
where Self: Sized + Message,

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSObjectWebPlugIn for NSObject

Implementors§