pub unsafe trait NSCollectionLayoutVisibleItem: NSObjectProtocol + UIDynamicItem + IsMainThreadOnly {
Show 18 methods // Provided methods unsafe fn alpha(&self) -> CGFloat where Self: Sized + Message { ... } unsafe fn setAlpha(&self, alpha: CGFloat) where Self: Sized + Message { ... } unsafe fn zIndex(&self) -> NSInteger where Self: Sized + Message { ... } unsafe fn setZIndex(&self, z_index: NSInteger) where Self: Sized + Message { ... } unsafe fn isHidden(&self) -> bool where Self: Sized + Message { ... } unsafe fn setHidden(&self, hidden: bool) where Self: Sized + Message { ... } unsafe fn center(&self) -> CGPoint where Self: Sized + Message { ... } unsafe fn setCenter(&self, center: CGPoint) where Self: Sized + Message { ... } unsafe fn transform(&self) -> CGAffineTransform where Self: Sized + Message { ... } unsafe fn setTransform(&self, transform: CGAffineTransform) where Self: Sized + Message { ... } unsafe fn transform3D(&self) -> CATransform3D where Self: Sized + Message { ... } unsafe fn setTransform3D(&self, transform3_d: CATransform3D) where Self: Sized + Message { ... } unsafe fn name(&self) -> Retained<NSString> where Self: Sized + Message { ... } unsafe fn indexPath(&self) -> Retained<NSIndexPath> where Self: Sized + Message { ... } unsafe fn frame(&self) -> CGRect where Self: Sized + Message { ... } unsafe fn bounds(&self) -> CGRect where Self: Sized + Message { ... } unsafe fn representedElementCategory(&self) -> UICollectionElementCategory where Self: Sized + Message { ... } unsafe fn representedElementKind(&self) -> Option<Retained<NSString>> where Self: Sized + Message { ... }
}
Available on crate features UICollectionViewCompositionalLayout and UIDynamicBehavior only.

Provided Methods§

source

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

source

unsafe fn setAlpha(&self, alpha: CGFloat)
where Self: Sized + Message,

source

unsafe fn zIndex(&self) -> NSInteger
where Self: Sized + Message,

source

unsafe fn setZIndex(&self, z_index: NSInteger)
where Self: Sized + Message,

source

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

source

unsafe fn setHidden(&self, hidden: bool)
where Self: Sized + Message,

source

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

source

unsafe fn setCenter(&self, center: CGPoint)
where Self: Sized + Message,

source

unsafe fn transform(&self) -> CGAffineTransform
where Self: Sized + Message,

source

unsafe fn setTransform(&self, transform: CGAffineTransform)
where Self: Sized + Message,

source

unsafe fn transform3D(&self) -> CATransform3D
where Self: Sized + Message,

Available on crate feature objc2-quartz-core and non-watchOS only.
source

unsafe fn setTransform3D(&self, transform3_d: CATransform3D)
where Self: Sized + Message,

Available on crate feature objc2-quartz-core and non-watchOS only.
source

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

source

unsafe fn indexPath(&self) -> Retained<NSIndexPath>
where Self: Sized + Message,

source

unsafe fn frame(&self) -> CGRect
where Self: Sized + Message,

source

unsafe fn bounds(&self) -> CGRect
where Self: Sized + Message,

source

unsafe fn representedElementCategory(&self) -> UICollectionElementCategory
where Self: Sized + Message,

Available on crate feature UICollectionViewLayout only.
source

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

Trait Implementations§

source§

impl ProtocolType for dyn NSCollectionLayoutVisibleItem

source§

const NAME: &'static str = "NSCollectionLayoutVisibleItem"

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 NSCollectionLayoutVisibleItem

Implementations on Foreign Types§

source§

impl<T> NSCollectionLayoutVisibleItem for ProtocolObject<T>

Implementors§