Trait objc2_ui_kit::UILargeContentViewerItem

source ·
pub unsafe trait UILargeContentViewerItem: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn showsLargeContentViewer(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn largeContentTitle(&self) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn largeContentImage(&self) -> Option<Retained<UIImage>>
       where Self: Sized + Message { ... }
    unsafe fn scalesLargeContentImage(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn largeContentImageInsets(&self) -> UIEdgeInsets
       where Self: Sized + Message { ... }
}
Available on crate feature UILargeContentViewer only.

Provided Methods§

source

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

source

unsafe fn largeContentTitle(&self) -> Option<Retained<NSString>>
where Self: Sized + Message,

source

unsafe fn largeContentImage(&self) -> Option<Retained<UIImage>>
where Self: Sized + Message,

Available on crate feature UIImage only.
source

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

source

unsafe fn largeContentImageInsets(&self) -> UIEdgeInsets
where Self: Sized + Message,

Available on crate feature UIGeometry only.

Trait Implementations§

source§

impl ProtocolType for dyn UILargeContentViewerItem

source§

const NAME: &'static str = "UILargeContentViewerItem"

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 UILargeContentViewerItem

Implementations on Foreign Types§

source§

impl<T> UILargeContentViewerItem for ProtocolObject<T>

Implementors§

source§

impl UILargeContentViewerItem for UIView

Available on crate features UIResponder and UIView only.