[][src]Trait uikit_sys::PNSTextAttachmentContainer

pub trait PNSTextAttachmentContainer: Sized + Deref {
    unsafe fn imageForBounds_textContainer_characterIndex_(
        self,
        imageBounds: CGRect,
        textContainer: NSTextContainer,
        charIndex: NSUInteger
    ) -> UIImage
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn attachmentBoundsForTextContainer_proposedLineFragment_glyphPosition_characterIndex_(
        self,
        textContainer: NSTextContainer,
        lineFrag: CGRect,
        position: CGPoint,
        charIndex: NSUInteger
    ) -> CGRect
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn imageForBounds_textContainer_characterIndex_(
    self,
    imageBounds: CGRect,
    textContainer: NSTextContainer,
    charIndex: NSUInteger
) -> UIImage where
    Self::Target: Message + Sized

unsafe fn attachmentBoundsForTextContainer_proposedLineFragment_glyphPosition_characterIndex_(
    self,
    textContainer: NSTextContainer,
    lineFrag: CGRect,
    position: CGPoint,
    charIndex: NSUInteger
) -> CGRect where
    Self::Target: Message + Sized

Loading content...

Implementors

impl PNSTextAttachmentContainer for NSTextAttachment[src]

Loading content...