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§
unsafe fn contentType(&self) -> Option<Retained<NSTextContentType>>
Sourceunsafe fn setContentType(&self, content_type: Option<&NSTextContentType>)
unsafe fn setContentType(&self, content_type: Option<&NSTextContentType>)
Setter for contentType.
Trait Implementations§
Source§impl ProtocolType for dyn NSTextContent
impl ProtocolType for dyn NSTextContent
impl<T> ImplementedBy<T> for dyn NSTextContent
Implementations on Foreign Types§
impl<T> NSTextContent for ProtocolObject<T>where
T: ?Sized + NSTextContent,
Implementors§
impl NSTextContent for NSComboBox
Available on crate features
NSControl and NSResponder and NSTextField and NSView and NSComboBox only.impl NSTextContent for NSSearchField
Available on crate features
NSControl and NSResponder and NSTextField and NSView and NSSearchField only.impl NSTextContent for NSSecureTextField
Available on crate features
NSControl and NSResponder and NSTextField and NSView and NSSecureTextField only.impl NSTextContent for NSTextField
Available on crate features
NSControl and NSResponder and NSView and NSTextField only.impl NSTextContent for NSTextView
Available on crate features
NSResponder and NSText and NSView and NSTextView only.impl NSTextContent for NSTokenField
Available on crate features
NSControl and NSResponder and NSTextField and NSView and NSTokenField only.