pub unsafe trait NSStringDrawingDeprecated: ClassType {
// Provided methods
unsafe fn drawWithRect_options_attributes(
&self,
rect: NSRect,
options: NSStringDrawingOptions,
attributes: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>
)
where Self: Sized + Message { ... }
unsafe fn boundingRectWithSize_options_attributes(
&self,
size: NSSize,
options: NSStringDrawingOptions,
attributes: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>
) -> NSRect
where Self: Sized + Message { ... }
}
Available on crate feature
NSStringDrawing
only.Expand description
Category on NSString
.
Provided Methods§
unsafe fn drawWithRect_options_attributes( &self, rect: NSRect, options: NSStringDrawingOptions, attributes: Option<&NSDictionary<NSAttributedStringKey, AnyObject>> )
unsafe fn boundingRectWithSize_options_attributes( &self, size: NSSize, options: NSStringDrawingOptions, attributes: Option<&NSDictionary<NSAttributedStringKey, AnyObject>> ) -> NSRect
Object Safety§
This trait is not object safe.