Trait 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 WebKit 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
Available on crate feature Foundation_NSString only.
Source

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

๐Ÿ‘ŽDeprecated
Available on crate feature Foundation_NSAttributedString only.
Source

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

๐Ÿ‘ŽDeprecated
Available on crate feature Foundation_NSString only.
Source

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

๐Ÿ‘ŽDeprecated
Available on crate feature Foundation_NSAttributedString only.
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ยง