pub unsafe trait NSMutableAttributedStringDocumentFormats:
ClassType
+ Sized
+ Sealed {
// 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>> { ... }
}
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>>
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.