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 feature
NSComboBox
only.impl NSTextContent for NSSearchField
Available on crate feature
NSSearchField
only.impl NSTextContent for NSSecureTextField
Available on crate feature
NSSecureTextField
only.impl NSTextContent for NSTextField
Available on crate feature
NSTextField
only.impl NSTextContent for NSTextView
Available on crate feature
NSTextView
only.impl NSTextContent for NSTokenField
Available on crate feature
NSTokenField
only.