pub unsafe trait NSTextAttachmentContainer: NSObjectProtocol {
// Provided methods
unsafe fn imageForBounds_textContainer_characterIndex(
&self,
image_bounds: CGRect,
text_container: Option<&NSTextContainer>,
char_index: NSUInteger
) -> Option<Retained<UIImage>>
where Self: Sized + Message { ... }
unsafe fn attachmentBoundsForTextContainer_proposedLineFragment_glyphPosition_characterIndex(
&self,
text_container: Option<&NSTextContainer>,
line_frag: CGRect,
position: CGPoint,
char_index: NSUInteger
) -> CGRect
where Self: Sized + Message { ... }
}Available on crate feature
NSTextAttachment only.Provided Methods§
unsafe fn imageForBounds_textContainer_characterIndex( &self, image_bounds: CGRect, text_container: Option<&NSTextContainer>, char_index: NSUInteger ) -> Option<Retained<UIImage>>
Available on crate features
NSTextContainer and UIImage only.unsafe fn attachmentBoundsForTextContainer_proposedLineFragment_glyphPosition_characterIndex( &self, text_container: Option<&NSTextContainer>, line_frag: CGRect, position: CGPoint, char_index: NSUInteger ) -> CGRect
Available on crate feature
NSTextContainer only.