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