pub unsafe trait NSAttributedStringNSStringDrawingDeprecated:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn drawWithRect_options(
&self,
rect: NSRect,
options: NSStringDrawingOptions,
) { ... }
unsafe fn boundingRectWithSize_options(
&self,
size: NSSize,
options: NSStringDrawingOptions,
) -> NSRect { ... }
}
Available on crate feature
NSStringDrawing
only.Expand description
Category “NSStringDrawingDeprecated” on NSAttributedString
.
Provided Methods§
unsafe fn drawWithRect_options( &self, rect: NSRect, options: NSStringDrawingOptions, )
unsafe fn boundingRectWithSize_options( &self, size: NSSize, options: NSStringDrawingOptions, ) -> NSRect
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.