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<Id<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn attributedString(&self) -> Option<Id<NSAttributedString>>
       where Self: Sized + Message { ... }
    unsafe fn selectedString(&self) -> Option<Id<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn selectedAttributedString(&self) -> Option<Id<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<Id<NSString>>
where Self: Sized + Message,

👎Deprecated
source

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

👎Deprecated
source

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

👎Deprecated
source

unsafe fn selectedAttributedString(&self) -> Option<Id<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§