[][src]Trait uikit_sys::NSString_UIStringDrawing

pub trait NSString_UIStringDrawing: Sized + Deref {
    unsafe fn sizeWithFont_(self, font: UIFont) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sizeWithFont_forWidth_lineBreakMode_(
        self,
        font: UIFont,
        width: CGFloat,
        lineBreakMode: NSLineBreakMode
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawAtPoint_withFont_(
        self,
        point: CGPoint,
        font: UIFont
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawAtPoint_forWidth_withFont_lineBreakMode_(
        self,
        point: CGPoint,
        width: CGFloat,
        font: UIFont,
        lineBreakMode: NSLineBreakMode
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sizeWithFont_constrainedToSize_(
        self,
        font: UIFont,
        size: CGSize
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sizeWithFont_constrainedToSize_lineBreakMode_(
        self,
        font: UIFont,
        size: CGSize,
        lineBreakMode: NSLineBreakMode
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawInRect_withFont_(self, rect: CGRect, font: UIFont) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawInRect_withFont_lineBreakMode_(
        self,
        rect: CGRect,
        font: UIFont,
        lineBreakMode: NSLineBreakMode
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawInRect_withFont_lineBreakMode_alignment_(
        self,
        rect: CGRect,
        font: UIFont,
        lineBreakMode: NSLineBreakMode,
        alignment: NSTextAlignment
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sizeWithFont_minFontSize_actualFontSize_forWidth_lineBreakMode_(
        self,
        font: UIFont,
        minFontSize: CGFloat,
        actualFontSize: *mut CGFloat,
        width: CGFloat,
        lineBreakMode: NSLineBreakMode
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawAtPoint_forWidth_withFont_fontSize_lineBreakMode_baselineAdjustment_(
        self,
        point: CGPoint,
        width: CGFloat,
        font: UIFont,
        fontSize: CGFloat,
        lineBreakMode: NSLineBreakMode,
        baselineAdjustment: UIBaselineAdjustment
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawAtPoint_forWidth_withFont_minFontSize_actualFontSize_lineBreakMode_baselineAdjustment_(
        self,
        point: CGPoint,
        width: CGFloat,
        font: UIFont,
        minFontSize: CGFloat,
        actualFontSize: *mut CGFloat,
        lineBreakMode: NSLineBreakMode,
        baselineAdjustment: UIBaselineAdjustment
    ) -> CGSize
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn sizeWithFont_(self, font: UIFont) -> CGSize where
    Self::Target: Message + Sized

unsafe fn sizeWithFont_forWidth_lineBreakMode_(
    self,
    font: UIFont,
    width: CGFloat,
    lineBreakMode: NSLineBreakMode
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn drawAtPoint_withFont_(self, point: CGPoint, font: UIFont) -> CGSize where
    Self::Target: Message + Sized

unsafe fn drawAtPoint_forWidth_withFont_lineBreakMode_(
    self,
    point: CGPoint,
    width: CGFloat,
    font: UIFont,
    lineBreakMode: NSLineBreakMode
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn sizeWithFont_constrainedToSize_(
    self,
    font: UIFont,
    size: CGSize
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn sizeWithFont_constrainedToSize_lineBreakMode_(
    self,
    font: UIFont,
    size: CGSize,
    lineBreakMode: NSLineBreakMode
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn drawInRect_withFont_(self, rect: CGRect, font: UIFont) -> CGSize where
    Self::Target: Message + Sized

unsafe fn drawInRect_withFont_lineBreakMode_(
    self,
    rect: CGRect,
    font: UIFont,
    lineBreakMode: NSLineBreakMode
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn drawInRect_withFont_lineBreakMode_alignment_(
    self,
    rect: CGRect,
    font: UIFont,
    lineBreakMode: NSLineBreakMode,
    alignment: NSTextAlignment
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn sizeWithFont_minFontSize_actualFontSize_forWidth_lineBreakMode_(
    self,
    font: UIFont,
    minFontSize: CGFloat,
    actualFontSize: *mut CGFloat,
    width: CGFloat,
    lineBreakMode: NSLineBreakMode
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn drawAtPoint_forWidth_withFont_fontSize_lineBreakMode_baselineAdjustment_(
    self,
    point: CGPoint,
    width: CGFloat,
    font: UIFont,
    fontSize: CGFloat,
    lineBreakMode: NSLineBreakMode,
    baselineAdjustment: UIBaselineAdjustment
) -> CGSize where
    Self::Target: Message + Sized

unsafe fn drawAtPoint_forWidth_withFont_minFontSize_actualFontSize_lineBreakMode_baselineAdjustment_(
    self,
    point: CGPoint,
    width: CGFloat,
    font: UIFont,
    minFontSize: CGFloat,
    actualFontSize: *mut CGFloat,
    lineBreakMode: NSLineBreakMode,
    baselineAdjustment: UIBaselineAdjustment
) -> CGSize where
    Self::Target: Message + Sized

Loading content...

Implementors

impl NSString_UIStringDrawing for NSConstantString[src]

impl NSString_UIStringDrawing for NSMutableString[src]

impl NSString_UIStringDrawing for NSSimpleCString[src]

impl NSString_UIStringDrawing for NSString[src]

Loading content...