Trait objc2_ui_kit::UIBarPositioning

source ·
pub unsafe trait UIBarPositioning: NSObjectProtocol + IsMainThreadOnly {
    // Provided method
    unsafe fn barPosition(&self) -> UIBarPosition
       where Self: Sized + Message { ... }
}
Available on crate feature UIBarCommon only.

Provided Methods§

source

unsafe fn barPosition(&self) -> UIBarPosition
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UIBarPositioning

source§

const NAME: &'static str = "UIBarPositioning"

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 UIBarPositioning

Implementations on Foreign Types§

source§

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

Implementors§

source§

impl UIBarPositioning for UINavigationBar

Available on crate features UIResponder and UIView and UINavigationBar only.
source§

impl UIBarPositioning for UISearchBar

Available on crate features UIResponder and UIView and UISearchBar only.
source§

impl UIBarPositioning for UIToolbar

Available on crate features UIResponder and UIView and UIToolbar only.