pub unsafe trait UIContentSizeCategoryAdjusting: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn adjustsFontForContentSizeCategory(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn setAdjustsFontForContentSizeCategory(
&self,
adjusts_font_for_content_size_category: bool
)
where Self: Sized + Message { ... }
}
Available on crate feature
UIContentSizeCategoryAdjusting
only.Provided Methods§
unsafe fn adjustsFontForContentSizeCategory(&self) -> bool
unsafe fn setAdjustsFontForContentSizeCategory( &self, adjusts_font_for_content_size_category: bool )
Trait Implementations§
source§impl ProtocolType for dyn UIContentSizeCategoryAdjusting
impl ProtocolType for dyn UIContentSizeCategoryAdjusting
impl<T> ImplementedBy<T> for dyn UIContentSizeCategoryAdjusting
Implementations on Foreign Types§
impl<T> UIContentSizeCategoryAdjusting for ProtocolObject<T>where
T: ?Sized + UIContentSizeCategoryAdjusting,
Implementors§
impl UIContentSizeCategoryAdjusting for UILabel
Available on crate features
UIResponder
and UIView
and UILabel
only.impl UIContentSizeCategoryAdjusting for UISearchTextField
Available on crate features
UIControl
and UIResponder
and UITextField
and UIView
and UISearchTextField
only.impl UIContentSizeCategoryAdjusting for UITextField
Available on crate features
UIControl
and UIResponder
and UIView
and UITextField
only.impl UIContentSizeCategoryAdjusting for UITextView
Available on crate features
UIResponder
and UIScrollView
and UIView
and UITextView
only.