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§
unsafe fn webPlugInInitialize(&self)
unsafe fn webPlugInStart(&self)
unsafe fn webPlugInStop(&self)
unsafe fn webPlugInDestroy(&self)
unsafe fn webPlugInSetIsSelected(&self, is_selected: bool)
unsafe fn objectForWebScript(&self) -> Option<Retained<AnyObject>>
unsafe fn webPlugInMainResourceDidReceiveResponse( &self, response: Option<&NSURLResponse> )
unsafe fn webPlugInMainResourceDidReceiveData(&self, data: Option<&NSData>)
unsafe fn webPlugInMainResourceDidFailWithError(&self, error: Option<&NSError>)
unsafe fn webPlugInMainResourceDidFinishLoading(&self)
Object Safety§
This trait is not object safe.