NSAttributedStringNSStringDrawing

Trait NSAttributedStringNSStringDrawing 

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

Category “NSStringDrawing” on NSAttributedString.

Provided Methods§

Source

fn size(&self) -> CGSize

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

fn drawAtPoint(&self, point: CGPoint)

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

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§