Trait objc2_app_kit::NSStringDrawingDeprecated

source ·
pub unsafe trait NSStringDrawingDeprecated: ClassType {
    // Provided methods
    unsafe fn drawWithRect_options_attributes(
        &self,
        rect: NSRect,
        options: NSStringDrawingOptions,
        attributes: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>
    )
       where Self: Sized + Message { ... }
    unsafe fn boundingRectWithSize_options_attributes(
        &self,
        size: NSSize,
        options: NSStringDrawingOptions,
        attributes: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>
    ) -> NSRect
       where Self: Sized + Message { ... }
}
Available on crate feature NSStringDrawing only.
Expand description

Category on NSString.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSStringDrawingDeprecated for NSString

Implementors§