pub unsafe trait NSAttributedStringNSExtendedStringDrawing: ClassType {
// Provided methods
unsafe fn drawWithRect_options_context(
&self,
rect: NSRect,
options: NSStringDrawingOptions,
context: Option<&NSStringDrawingContext>
)
where Self: Sized + Message { ... }
unsafe fn boundingRectWithSize_options_context(
&self,
size: NSSize,
options: NSStringDrawingOptions,
context: Option<&NSStringDrawingContext>
) -> NSRect
where Self: Sized + Message { ... }
}
Available on crate feature
NSStringDrawing
only.Expand description
Category “NSExtendedStringDrawing” on NSAttributedString
.
Provided Methods§
unsafe fn drawWithRect_options_context( &self, rect: NSRect, options: NSStringDrawingOptions, context: Option<&NSStringDrawingContext> )
unsafe fn boundingRectWithSize_options_context( &self, size: NSSize, options: NSStringDrawingOptions, context: Option<&NSStringDrawingContext> ) -> NSRect
Object Safety§
This trait is not object safe.