pub unsafe trait NSMutableAttributedStringDocumentFormats: ClassType {
// Provided methods
unsafe fn readFromURL_options_documentAttributes_error(
&self,
url: &NSURL,
opts: &NSDictionary<NSAttributedStringDocumentReadingOptionKey, AnyObject>,
dict: Option<&mut Option<Retained<NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>>>>
) -> Result<(), Retained<NSError>>
where Self: Sized + Message { ... }
unsafe fn readFromData_options_documentAttributes_error(
&self,
data: &NSData,
opts: &NSDictionary<NSAttributedStringDocumentReadingOptionKey, AnyObject>,
dict: Option<&mut Option<Retained<NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>>>>
) -> Result<(), Retained<NSError>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSAttributedString
only.Expand description
Category on NSMutableAttributedString
.
Provided Methods§
unsafe fn readFromURL_options_documentAttributes_error( &self, url: &NSURL, opts: &NSDictionary<NSAttributedStringDocumentReadingOptionKey, AnyObject>, dict: Option<&mut Option<Retained<NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>>>> ) -> Result<(), Retained<NSError>>
unsafe fn readFromData_options_documentAttributes_error( &self, data: &NSData, opts: &NSDictionary<NSAttributedStringDocumentReadingOptionKey, AnyObject>, dict: Option<&mut Option<Retained<NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>>>> ) -> Result<(), Retained<NSError>>
Object Safety§
This trait is not object safe.