Trait NSAttributedStringNSStringDrawing

Source
pub unsafe trait NSAttributedStringNSStringDrawing:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    unsafe fn size(&self) -> CGSize { ... }
    unsafe fn drawAtPoint(&self, point: CGPoint) { ... }
    unsafe fn drawInRect(&self, rect: CGRect) { ... }
}
Available on crate feature NSStringDrawing only.
Expand description

Category “NSStringDrawing” on NSAttributedString.

Provided Methods§

Source

unsafe fn size(&self) -> CGSize

Available on crate feature objc2-core-foundation only.
Source

unsafe fn drawAtPoint(&self, point: CGPoint)

Available on crate feature objc2-core-foundation only.
Source

unsafe fn drawInRect(&self, rect: CGRect)

Available on crate feature objc2-core-foundation 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 NSAttributedStringNSStringDrawing for NSAttributedString

Implementors§