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§
unsafe fn size(&self) -> CGSize
Available on crate feature
objc2-core-foundation
only.unsafe fn drawAtPoint(&self, point: CGPoint)
Available on crate feature
objc2-core-foundation
only.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.