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§
unsafe fn contentOffset(&self) -> CGPoint
unsafe fn setContentOffset(&self, content_offset: CGPoint)
unsafe fn contentSize(&self) -> CGSize
unsafe fn visibleSize(&self) -> CGSize
Trait Implementations§
source§impl ProtocolType for dyn UIFocusItemScrollableContainer
impl ProtocolType for dyn UIFocusItemScrollableContainer
impl<T> ImplementedBy<T> for dyn UIFocusItemScrollableContainer
Implementations on Foreign Types§
impl<T> UIFocusItemScrollableContainer for ProtocolObject<T>where
T: ?Sized + UIFocusItemScrollableContainer,
Implementors§
impl UIFocusItemScrollableContainer for UICollectionView
Available on crate features
UIResponder and UIScrollView and UIView and UICollectionView only.impl UIFocusItemScrollableContainer for UIScrollView
Available on crate features
UIResponder and UIView and UIScrollView only.impl UIFocusItemScrollableContainer for UITableView
Available on crate features
UIResponder and UIScrollView and UIView and UITableView only.impl UIFocusItemScrollableContainer for UITextView
Available on crate features
UIResponder and UIScrollView and UIView and UITextView only.