pub unsafe trait NSCollectionLayoutVisibleItem:
NSObjectProtocol
+ UIDynamicItem
+ MainThreadOnly {
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.Expand description
Provided Methods§
unsafe fn alpha(&self) -> CGFloat
Available on crate feature
objc2-core-foundation
only.Sourceunsafe fn setAlpha(&self, alpha: CGFloat)
Available on crate feature objc2-core-foundation
only.
unsafe fn setAlpha(&self, alpha: CGFloat)
objc2-core-foundation
only.Setter for alpha
.
unsafe fn zIndex(&self) -> NSInteger
unsafe fn isHidden(&self) -> bool
unsafe fn center(&self) -> CGPoint
Available on crate feature
objc2-core-foundation
only.Sourceunsafe fn setCenter(&self, center: CGPoint)
Available on crate feature objc2-core-foundation
only.
unsafe fn setCenter(&self, center: CGPoint)
objc2-core-foundation
only.Setter for center
.
unsafe fn transform(&self) -> CGAffineTransform
Available on crate feature
objc2-core-foundation
only.Sourceunsafe fn setTransform(&self, transform: CGAffineTransform)
Available on crate feature objc2-core-foundation
only.
unsafe fn setTransform(&self, transform: CGAffineTransform)
objc2-core-foundation
only.Setter for transform
.
unsafe fn transform3D(&self) -> CATransform3D
Available on crate feature
objc2-quartz-core
and non-watchOS only.Sourceunsafe fn setTransform3D(&self, transform3_d: CATransform3D)
Available on crate feature objc2-quartz-core
and non-watchOS only.
unsafe fn setTransform3D(&self, transform3_d: CATransform3D)
objc2-quartz-core
and non-watchOS only.Setter for transform3D
.
unsafe fn name(&self) -> Retained<NSString>
unsafe fn indexPath(&self) -> Retained<NSIndexPath>
unsafe fn frame(&self) -> CGRect
Available on crate feature
objc2-core-foundation
only.unsafe fn bounds(&self) -> CGRect
Available on crate feature
objc2-core-foundation
only.unsafe fn representedElementCategory(&self) -> UICollectionElementCategory
Available on crate feature
UICollectionViewLayout
only.