pub unsafe trait UIContentSizeCategoryAdjusting: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn adjustsFontForContentSizeCategory(&self) -> bool
where Self: Sized + Message { ... }
fn setAdjustsFontForContentSizeCategory(
&self,
adjusts_font_for_content_size_category: bool,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIContentSizeCategoryAdjusting only.Expand description
Provided Methods§
fn adjustsFontForContentSizeCategory(&self) -> bool
Sourcefn setAdjustsFontForContentSizeCategory(
&self,
adjusts_font_for_content_size_category: bool,
)
fn setAdjustsFontForContentSizeCategory( &self, adjusts_font_for_content_size_category: bool, )
Setter for adjustsFontForContentSizeCategory.
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 feature
UILabel only.impl UIContentSizeCategoryAdjusting for UISearchTextField
Available on crate feature
UISearchTextField only.impl UIContentSizeCategoryAdjusting for UITextField
Available on crate feature
UITextField only.impl UIContentSizeCategoryAdjusting for UITextView
Available on crate feature
UITextView only.