Trait objc2_web_kit::WebDocumentText

source ยท
pub unsafe trait WebDocumentText: NSObjectProtocol {
    // Provided methods
    unsafe fn supportsTextEncoding(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn string(&self) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn attributedString(&self) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
    unsafe fn selectedString(&self) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn selectedAttributedString(
        &self
    ) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
    unsafe fn selectAll(&self)
       where Self: Sized + Message { ... }
    unsafe fn deselectAll(&self)
       where Self: Sized + Message { ... }
}
๐Ÿ‘ŽDeprecated
Available on crate feature WebDocument only.

Provided Methodsยง

source

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

๐Ÿ‘ŽDeprecated
source

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

๐Ÿ‘ŽDeprecated
source

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

๐Ÿ‘ŽDeprecated
source

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

๐Ÿ‘ŽDeprecated
source

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

๐Ÿ‘ŽDeprecated
source

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

๐Ÿ‘ŽDeprecated
source

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

๐Ÿ‘ŽDeprecated

Trait Implementationsยง

sourceยง

impl ProtocolType for dyn WebDocumentText

sourceยง

const NAME: &'static str = "WebDocumentText"

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 WebDocumentText

Implementations on Foreign Typesยง

sourceยง

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

Implementorsยง