pub unsafe trait NSAttributedStringNSStringDrawingDeprecated: ClassType {
// Provided methods
unsafe fn drawWithRect_options(
&self,
rect: NSRect,
options: NSStringDrawingOptions
)
where Self: Sized + Message { ... }
unsafe fn boundingRectWithSize_options(
&self,
size: NSSize,
options: NSStringDrawingOptions
) -> NSRect
where Self: Sized + Message { ... }
}
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
Object Safety§
This trait is not object safe.