pub unsafe trait NSAttributedStringAttachmentConveniences:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn attributedStringWithAttachment(
attachment: &NSTextAttachment,
) -> Retained<NSAttributedString> { ... }
unsafe fn attributedStringWithAttachment_attributes(
attachment: &NSTextAttachment,
attributes: &NSDictionary<NSAttributedStringKey, AnyObject>,
) -> Retained<Self> { ... }
}
Available on crate feature
NSTextAttachment
only.Expand description
Category on NSAttributedString
.
Provided Methods§
unsafe fn attributedStringWithAttachment( attachment: &NSTextAttachment, ) -> Retained<NSAttributedString>
unsafe fn attributedStringWithAttachment_attributes( attachment: &NSTextAttachment, attributes: &NSDictionary<NSAttributedStringKey, AnyObject>, ) -> Retained<Self>
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.