Trait NSTextContent

Source
pub unsafe trait NSTextContent {
    // Provided methods
    unsafe fn contentType(&self) -> Option<Retained<NSTextContentType>>
       where Self: Sized + Message { ... }
    unsafe fn setContentType(&self, content_type: Option<&NSTextContentType>)
       where Self: Sized + Message { ... }
}
Available on crate feature NSTextContent only.
Expand description

Provided Methods§

Source

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

Source

unsafe fn setContentType(&self, content_type: Option<&NSTextContentType>)
where Self: Sized + Message,

Setter for contentType.

Trait Implementations§

Source§

impl ProtocolType for dyn NSTextContent

Source§

const NAME: &'static str = "NSTextContent"

The name of the Objective-C protocol that this type represents. Read more
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 NSTextContent
where T: ?Sized + Message + NSTextContent,

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

impl NSTextContent for NSComboBox

Available on crate feature NSComboBox only.
Source§

impl NSTextContent for NSSearchField

Available on crate feature NSSearchField only.
Source§

impl NSTextContent for NSSecureTextField

Available on crate feature NSSecureTextField only.
Source§

impl NSTextContent for NSTextField

Available on crate feature NSTextField only.
Source§

impl NSTextContent for NSTextView

Available on crate feature NSTextView only.
Source§

impl NSTextContent for NSTokenField

Available on crate feature NSTokenField only.