pub unsafe trait NSAttributedStringNSStringDrawingDeprecated: ClassType {
    // Provided methods
    unsafe fn drawWithRect_options(
        &self,
        rect: NSRect,
        options: NSStringDrawingOptions
    )
       where Self: Sized + Message { ... }
    unsafe fn boundingRectWithSize_options(
        &self,
        size: NSSize,
        options: NSStringDrawingOptions
    ) -> NSRect
       where Self: Sized + Message { ... }
}
Available on crate feature NSStringDrawing only.
Expand description

Category “NSStringDrawingDeprecated” on NSAttributedString.

Provided Methods§

source

unsafe fn drawWithRect_options( &self, rect: NSRect, options: NSStringDrawingOptions )
where Self: Sized + Message,

source

unsafe fn boundingRectWithSize_options( &self, size: NSSize, options: NSStringDrawingOptions ) -> NSRect
where Self: Sized + Message,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSAttributedStringNSStringDrawingDeprecated for NSAttributedString

Implementors§