Trait objc2_app_kit::NSTextContent
source · pub unsafe trait NSTextContent {
// Provided methods
unsafe fn contentType(&self) -> Option<Id<NSTextContentType>>
where Self: Sized + Message { ... }
unsafe fn setContentType(&self, content_type: Option<&NSTextContentType>)
where Self: Sized + Message { ... }
}
Available on crate feature
NSTextContent
only.Provided Methods§
unsafe fn contentType(&self) -> Option<Id<NSTextContentType>>
unsafe fn setContentType(&self, content_type: Option<&NSTextContentType>)
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.