pub unsafe trait UIFocusItemScrollableContainer: UIFocusItemContainer + IsMainThreadOnly {
    // Provided methods
    unsafe fn contentOffset(&self) -> CGPoint
       where Self: Sized + Message { ... }
    unsafe fn setContentOffset(&self, content_offset: CGPoint)
       where Self: Sized + Message { ... }
    unsafe fn contentSize(&self) -> CGSize
       where Self: Sized + Message { ... }
    unsafe fn visibleSize(&self) -> CGSize
       where Self: Sized + Message { ... }
}
Available on crate feature UIFocus only.

Provided Methods§

source

unsafe fn contentOffset(&self) -> CGPoint
where Self: Sized + Message,

source

unsafe fn setContentOffset(&self, content_offset: CGPoint)
where Self: Sized + Message,

source

unsafe fn contentSize(&self) -> CGSize
where Self: Sized + Message,

source

unsafe fn visibleSize(&self) -> CGSize
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UIFocusItemScrollableContainer

source§

const NAME: &'static str = "UIFocusItemScrollableContainer"

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 UIFocusItemScrollableContainer

Implementations on Foreign Types§

source§

impl<T> UIFocusItemScrollableContainer for ProtocolObject<T>

Implementors§

source§

impl UIFocusItemScrollableContainer for UICollectionView

Available on crate features UIResponder and UIScrollView and UIView and UICollectionView only.
source§

impl UIFocusItemScrollableContainer for UIScrollView

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

impl UIFocusItemScrollableContainer for UITableView

Available on crate features UIResponder and UIScrollView and UIView and UITableView only.
source§

impl UIFocusItemScrollableContainer for UITextView

Available on crate features UIResponder and UIScrollView and UIView and UITextView only.