pub unsafe trait NSAttributedStringAppKitAttributeFixing:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn fixFontAttributeInRange(&self, range: NSRange) { ... }
unsafe fn fixParagraphStyleAttributeInRange(&self, range: NSRange) { ... }
unsafe fn fixAttachmentAttributeInRange(&self, range: NSRange) { ... }
}
Available on crate feature
NSAttributedString
only.Expand description
Category on NSMutableAttributedString
.
********************** Attribute fixing ***********************
Provided Methods§
unsafe fn fixFontAttributeInRange(&self, range: NSRange)
unsafe fn fixParagraphStyleAttributeInRange(&self, range: NSRange)
unsafe fn fixAttachmentAttributeInRange(&self, range: NSRange)
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.