Trait objc2_app_kit::NSStringDrawing

source ·
pub unsafe trait NSStringDrawing: ClassType {
    // Provided methods
    unsafe fn sizeWithAttributes(
        &self,
        attrs: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>
    ) -> NSSize
       where Self: Sized + Message { ... }
    unsafe fn drawAtPoint_withAttributes(
        &self,
        point: NSPoint,
        attrs: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>
    )
       where Self: Sized + Message { ... }
    unsafe fn drawInRect_withAttributes(
        &self,
        rect: NSRect,
        attrs: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>
    )
       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 NSStringDrawing for NSString

Implementors§