NSMutableAttributedStringAppKitAdditions

Trait NSMutableAttributedStringAppKitAdditions 

Source
pub unsafe trait NSMutableAttributedStringAppKitAdditions:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    fn superscriptRange(&self, range: NSRange) { ... }
    fn subscriptRange(&self, range: NSRange) { ... }
    fn unscriptRange(&self, range: NSRange) { ... }
    fn applyFontTraits_range(&self, trait_mask: NSFontTraitMask, range: NSRange) { ... }
    fn setAlignment_range(&self, alignment: NSTextAlignment, range: NSRange) { ... }
    fn setBaseWritingDirection_range(
        &self,
        writing_direction: NSWritingDirection,
        range: NSRange,
    ) { ... }
}
Available on crate feature NSAttributedString only.
Expand description

Provided Methods§

Source

fn superscriptRange(&self, range: NSRange)

Source

fn subscriptRange(&self, range: NSRange)

Source

fn unscriptRange(&self, range: NSRange)

Source

fn applyFontTraits_range(&self, trait_mask: NSFontTraitMask, range: NSRange)

Available on crate feature NSFontManager only.
Source

fn setAlignment_range(&self, alignment: NSTextAlignment, range: NSRange)

Available on crate feature NSText only.
Source

fn setBaseWritingDirection_range( &self, writing_direction: NSWritingDirection, range: NSRange, )

Available on crate feature NSText only.

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 NSMutableAttributedStringAppKitAdditions for NSMutableAttributedString

Implementors§