UIContentSizeCategoryAdjusting

Trait UIContentSizeCategoryAdjusting 

Source
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§

Source

fn adjustsFontForContentSizeCategory(&self) -> bool
where Self: Sized + Message,

Source

fn setAdjustsFontForContentSizeCategory( &self, adjusts_font_for_content_size_category: bool, )
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn UIContentSizeCategoryAdjusting

Source§

const NAME: &'static str = "UIContentSizeCategoryAdjusting"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UIContentSizeCategoryAdjusting

Implementations on Foreign Types§

Source§

impl<T> UIContentSizeCategoryAdjusting for ProtocolObject<T>

Implementors§

Source§

impl UIContentSizeCategoryAdjusting for UILabel

Available on crate feature UILabel only.
Source§

impl UIContentSizeCategoryAdjusting for UISearchTextField

Available on crate feature UISearchTextField only.
Source§

impl UIContentSizeCategoryAdjusting for UITextField

Available on crate feature UITextField only.
Source§

impl UIContentSizeCategoryAdjusting for UITextView

Available on crate feature UITextView only.