pub unsafe trait NSAttributedStringNSDeprecatedKitAdditions:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn containsAttachments(&self) -> bool { ... }
unsafe fn textFileTypes() -> Retained<NSArray> { ... }
unsafe fn textPasteboardTypes() -> Retained<NSArray> { ... }
unsafe fn textUnfilteredFileTypes() -> Retained<NSArray> { ... }
unsafe fn textUnfilteredPasteboardTypes() -> Retained<NSArray> { ... }
unsafe fn initWithURL_documentAttributes(
this: Allocated<Self>,
url: &NSURL,
dict: Option<&mut Option<Retained<NSDictionary>>>,
) -> Option<Retained<Self>> { ... }
unsafe fn initWithPath_documentAttributes(
this: Allocated<Self>,
path: &NSString,
dict: Option<&mut Option<Retained<NSDictionary>>>,
) -> Option<Retained<Self>> { ... }
unsafe fn URLAtIndex_effectiveRange(
&self,
location: NSUInteger,
effective_range: NSRangePointer,
) -> Option<Retained<NSURL>> { ... }
}
Available on crate feature
NSAttributedString
only.Expand description
Category “NSDeprecatedKitAdditions” on NSAttributedString
.
Provided Methods§
unsafe fn containsAttachments(&self) -> bool
unsafe fn textFileTypes() -> Retained<NSArray>
👎Deprecated
unsafe fn textPasteboardTypes() -> Retained<NSArray>
👎Deprecated
unsafe fn textUnfilteredFileTypes() -> Retained<NSArray>
👎Deprecated
unsafe fn textUnfilteredPasteboardTypes() -> Retained<NSArray>
👎Deprecated
unsafe fn initWithURL_documentAttributes( this: Allocated<Self>, url: &NSURL, dict: Option<&mut Option<Retained<NSDictionary>>>, ) -> Option<Retained<Self>>
👎Deprecated: Use -initWithURL:options:documentAttributes:error: instead
unsafe fn initWithPath_documentAttributes( this: Allocated<Self>, path: &NSString, dict: Option<&mut Option<Retained<NSDictionary>>>, ) -> Option<Retained<Self>>
👎Deprecated: Use -initWithURL:options:documentAttributes:error: instead
unsafe fn URLAtIndex_effectiveRange( &self, location: NSUInteger, effective_range: NSRangePointer, ) -> Option<Retained<NSURL>>
👎Deprecated: Use NSDataDetector instead
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.