pub unsafe trait NSAttributedStringKitAdditions: ClassType {
    // Provided methods
    unsafe fn fontAttributesInRange(
        &self,
        range: NSRange
    ) -> Id<NSDictionary<NSAttributedStringKey, AnyObject>>
       where Self: Sized + Message { ... }
    unsafe fn rulerAttributesInRange(
        &self,
        range: NSRange
    ) -> Id<NSDictionary<NSAttributedStringKey, AnyObject>>
       where Self: Sized + Message { ... }
    unsafe fn containsAttachmentsInRange(&self, range: NSRange) -> bool
       where Self: Sized + Message { ... }
    unsafe fn lineBreakBeforeIndex_withinRange(
        &self,
        location: NSUInteger,
        a_range: NSRange
    ) -> NSUInteger
       where Self: Sized + Message { ... }
    unsafe fn lineBreakByHyphenatingBeforeIndex_withinRange(
        &self,
        location: NSUInteger,
        a_range: NSRange
    ) -> NSUInteger
       where Self: Sized + Message { ... }
    unsafe fn doubleClickAtIndex(&self, location: NSUInteger) -> NSRange
       where Self: Sized + Message { ... }
    unsafe fn nextWordFromIndex_forward(
        &self,
        location: NSUInteger,
        is_forward: bool
    ) -> NSUInteger
       where Self: Sized + Message { ... }
    unsafe fn rangeOfTextBlock_atIndex(
        &self,
        block: &NSTextBlock,
        location: NSUInteger
    ) -> NSRange
       where Self: Sized + Message { ... }
    unsafe fn rangeOfTextTable_atIndex(
        &self,
        table: &NSTextTable,
        location: NSUInteger
    ) -> NSRange
       where Self: Sized + Message { ... }
    unsafe fn rangeOfTextList_atIndex(
        &self,
        list: &NSTextList,
        location: NSUInteger
    ) -> NSRange
       where Self: Sized + Message { ... }
    unsafe fn itemNumberInTextList_atIndex(
        &self,
        list: &NSTextList,
        location: NSUInteger
    ) -> NSInteger
       where Self: Sized + Message { ... }
}
Available on crate feature NSAttributedString only.
Expand description

Category on NSAttributedString.

Provided Methods§

source

unsafe fn fontAttributesInRange( &self, range: NSRange ) -> Id<NSDictionary<NSAttributedStringKey, AnyObject>>
where Self: Sized + Message,

source

unsafe fn rulerAttributesInRange( &self, range: NSRange ) -> Id<NSDictionary<NSAttributedStringKey, AnyObject>>
where Self: Sized + Message,

source

unsafe fn containsAttachmentsInRange(&self, range: NSRange) -> bool
where Self: Sized + Message,

source

unsafe fn lineBreakBeforeIndex_withinRange( &self, location: NSUInteger, a_range: NSRange ) -> NSUInteger
where Self: Sized + Message,

source

unsafe fn lineBreakByHyphenatingBeforeIndex_withinRange( &self, location: NSUInteger, a_range: NSRange ) -> NSUInteger
where Self: Sized + Message,

source

unsafe fn doubleClickAtIndex(&self, location: NSUInteger) -> NSRange
where Self: Sized + Message,

source

unsafe fn nextWordFromIndex_forward( &self, location: NSUInteger, is_forward: bool ) -> NSUInteger
where Self: Sized + Message,

source

unsafe fn rangeOfTextBlock_atIndex( &self, block: &NSTextBlock, location: NSUInteger ) -> NSRange
where Self: Sized + Message,

Available on crate feature NSTextTable only.
source

unsafe fn rangeOfTextTable_atIndex( &self, table: &NSTextTable, location: NSUInteger ) -> NSRange
where Self: Sized + Message,

Available on crate feature NSTextTable only.
source

unsafe fn rangeOfTextList_atIndex( &self, list: &NSTextList, location: NSUInteger ) -> NSRange
where Self: Sized + Message,

Available on crate feature NSTextList only.
source

unsafe fn itemNumberInTextList_atIndex( &self, list: &NSTextList, location: NSUInteger ) -> NSInteger
where Self: Sized + Message,

Available on crate feature NSTextList only.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSAttributedStringKitAdditions for NSAttributedString

Implementors§