Trait objc2_ui_kit::UILayoutGuideAspectFitting

source ·
pub unsafe trait UILayoutGuideAspectFitting: NSObjectProtocol {
    // Provided methods
    unsafe fn aspectRatio(&self) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn setAspectRatio(&self, aspect_ratio: CGFloat)
       where Self: Sized + Message { ... }
}
Available on crate feature UIWindow only.

Provided Methods§

source

unsafe fn aspectRatio(&self) -> CGFloat
where Self: Sized + Message,

source

unsafe fn setAspectRatio(&self, aspect_ratio: CGFloat)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UILayoutGuideAspectFitting

source§

const NAME: &'static str = "UILayoutGuideAspectFitting"

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 UILayoutGuideAspectFitting

Implementations on Foreign Types§

source§

impl<T> UILayoutGuideAspectFitting for ProtocolObject<T>

Implementors§