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