Trait objc2_web_kit::WebDocumentRepresentation

source ยท
pub unsafe trait WebDocumentRepresentation: NSObjectProtocol {
    // Provided methods
    unsafe fn setDataSource(&self, data_source: Option<&WebDataSource>)
       where Self: Sized + Message { ... }
    unsafe fn receivedData_withDataSource(
        &self,
        data: Option<&NSData>,
        data_source: Option<&WebDataSource>
    )
       where Self: Sized + Message { ... }
    unsafe fn receivedError_withDataSource(
        &self,
        error: Option<&NSError>,
        data_source: Option<&WebDataSource>
    )
       where Self: Sized + Message { ... }
    unsafe fn finishedLoadingWithDataSource(
        &self,
        data_source: Option<&WebDataSource>
    )
       where Self: Sized + Message { ... }
    unsafe fn canProvideDocumentSource(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn documentSource(&self) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn title(&self) -> Option<Retained<NSString>>
       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 receivedData_withDataSource( &self, data: Option<&NSData>, data_source: Option<&WebDataSource> )
where Self: Sized + Message,

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

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

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

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

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

unsafe fn canProvideDocumentSource(&self) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
source

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

๐Ÿ‘ŽDeprecated
source

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

๐Ÿ‘ŽDeprecated

Trait Implementationsยง

sourceยง

impl ProtocolType for dyn WebDocumentRepresentation

sourceยง

const NAME: &'static str = "WebDocumentRepresentation"

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 WebDocumentRepresentation

Implementations on Foreign Typesยง

sourceยง

impl<T> WebDocumentRepresentation for ProtocolObject<T>

Implementorsยง