Trait NSAttributedStringAttachmentConveniences

Source
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§

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.

Implementations on Foreign Types§

Source§

impl NSAttributedStringAttachmentConveniences for NSAttributedString

Implementors§