pub unsafe trait NSTextContent {
// Provided methods
fn contentType(&self) -> Option<Retained<NSTextContentType>>
where Self: Sized + Message { ... }
fn setContentType(&self, content_type: Option<&NSTextContentType>)
where Self: Sized + Message { ... }
}
Available on crate feature
NSTextContent
only.Expand description
Provided Methods§
fn contentType(&self) -> Option<Retained<NSTextContentType>>
Sourcefn setContentType(&self, content_type: Option<&NSTextContentType>)
fn setContentType(&self, content_type: Option<&NSTextContentType>)
Setter for contentType
.
This is copied when set.
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.