pub unsafe trait NSAttributedStringNSDeprecatedKitAdditions: ClassType {
// Provided methods
unsafe fn containsAttachments(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn textFileTypes() -> Id<NSArray>
where Self: Sized + ClassType { ... }
unsafe fn textPasteboardTypes() -> Id<NSArray>
where Self: Sized + ClassType { ... }
unsafe fn textUnfilteredFileTypes() -> Id<NSArray>
where Self: Sized + ClassType { ... }
unsafe fn textUnfilteredPasteboardTypes() -> Id<NSArray>
where Self: Sized + ClassType { ... }
unsafe fn initWithURL_documentAttributes(
this: Allocated<Self>,
url: &NSURL,
dict: Option<&mut Option<Id<NSDictionary>>>
) -> Option<Id<Self>>
where Self: Sized + Message { ... }
unsafe fn initWithPath_documentAttributes(
this: Allocated<Self>,
path: &NSString,
dict: Option<&mut Option<Id<NSDictionary>>>
) -> Option<Id<Self>>
where Self: Sized + Message { ... }
unsafe fn URLAtIndex_effectiveRange(
&self,
location: NSUInteger,
effective_range: NSRangePointer
) -> Option<Id<NSURL>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSAttributedString
only.Expand description
Category “NSDeprecatedKitAdditions” on NSAttributedString
.
Provided Methods§
unsafe fn containsAttachments(&self) -> bool
unsafe fn textFileTypes() -> Id<NSArray>
👎Deprecated
unsafe fn textPasteboardTypes() -> Id<NSArray>
👎Deprecated
unsafe fn textUnfilteredFileTypes() -> Id<NSArray>
👎Deprecated
unsafe fn textUnfilteredPasteboardTypes() -> Id<NSArray>
👎Deprecated
unsafe fn initWithURL_documentAttributes( this: Allocated<Self>, url: &NSURL, dict: Option<&mut Option<Id<NSDictionary>>> ) -> Option<Id<Self>>
👎Deprecated: Use -initWithURL:options:documentAttributes:error: instead
unsafe fn initWithPath_documentAttributes( this: Allocated<Self>, path: &NSString, dict: Option<&mut Option<Id<NSDictionary>>> ) -> Option<Id<Self>>
👎Deprecated: Use -initWithURL:options:documentAttributes:error: instead
unsafe fn URLAtIndex_effectiveRange( &self, location: NSUInteger, effective_range: NSRangePointer ) -> Option<Id<NSURL>>
👎Deprecated: Use NSDataDetector instead
Object Safety§
This trait is not object safe.