pub unsafe trait NSAttributedStringNSExtendedStringDrawing:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn drawWithRect_options_context(
&self,
rect: CGRect,
options: NSStringDrawingOptions,
context: Option<&NSStringDrawingContext>,
) { ... }
unsafe fn boundingRectWithSize_options_context(
&self,
size: CGSize,
options: NSStringDrawingOptions,
context: Option<&NSStringDrawingContext>,
) -> CGRect { ... }
}
Available on crate feature
NSStringDrawing
only.Expand description
Category “NSExtendedStringDrawing” on NSAttributedString
.
Provided Methods§
unsafe fn drawWithRect_options_context( &self, rect: CGRect, options: NSStringDrawingOptions, context: Option<&NSStringDrawingContext>, )
Available on crate feature
objc2-core-foundation
only.unsafe fn boundingRectWithSize_options_context( &self, size: CGSize, options: NSStringDrawingOptions, context: Option<&NSStringDrawingContext>, ) -> 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.