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§

source

unsafe fn containsAttachments(&self) -> bool
where Self: Sized + Message,

source

unsafe fn textFileTypes() -> Id<NSArray>
where Self: Sized + ClassType,

👎Deprecated
source

unsafe fn textPasteboardTypes() -> Id<NSArray>
where Self: Sized + ClassType,

👎Deprecated
source

unsafe fn textUnfilteredFileTypes() -> Id<NSArray>
where Self: Sized + ClassType,

👎Deprecated
source

unsafe fn textUnfilteredPasteboardTypes() -> Id<NSArray>
where Self: Sized + ClassType,

👎Deprecated
source

unsafe fn initWithURL_documentAttributes( this: Allocated<Self>, url: &NSURL, dict: Option<&mut Option<Id<NSDictionary>>> ) -> Option<Id<Self>>
where Self: Sized + Message,

👎Deprecated: Use -initWithURL:options:documentAttributes:error: instead
source

unsafe fn initWithPath_documentAttributes( this: Allocated<Self>, path: &NSString, dict: Option<&mut Option<Id<NSDictionary>>> ) -> Option<Id<Self>>
where Self: Sized + Message,

👎Deprecated: Use -initWithURL:options:documentAttributes:error: instead
source

unsafe fn URLAtIndex_effectiveRange( &self, location: NSUInteger, effective_range: NSRangePointer ) -> Option<Id<NSURL>>
where Self: Sized + Message,

👎Deprecated: Use NSDataDetector instead

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSAttributedStringNSDeprecatedKitAdditions for NSAttributedString

Implementors§