Trait objc2_ui_kit::UITraitOverrides

source ·
pub unsafe trait UITraitOverrides: UIMutableTraits + IsMainThreadOnly {
    // Provided methods
    unsafe fn containsTrait(&self, trait: UITrait) -> bool
       where Self: Sized + Message { ... }
    unsafe fn removeTrait(&self, trait: UITrait)
       where Self: Sized + Message { ... }
}
Available on crate feature UITraitCollection only.

Provided Methods§

source

unsafe fn containsTrait(&self, trait: UITrait) -> bool
where Self: Sized + Message,

Available on crate feature UITrait only.
source

unsafe fn removeTrait(&self, trait: UITrait)
where Self: Sized + Message,

Available on crate feature UITrait only.

Trait Implementations§

source§

impl ProtocolType for dyn UITraitOverrides

source§

const NAME: &'static str = "UITraitOverrides"

The name of the Objective-C protocol that this type represents.
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 UITraitOverrides

Implementations on Foreign Types§

source§

impl<T> UITraitOverrides for ProtocolObject<T>
where T: ?Sized + UITraitOverrides,

Implementors§