pub unsafe trait NSCollectionLayoutVisibleItem: NSObjectProtocol {
Show 14 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) -> NSPoint
where Self: Sized + Message { ... }
unsafe fn setCenter(&self, center: NSPoint)
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) -> NSRect
where Self: Sized + Message { ... }
unsafe fn bounds(&self) -> NSRect
where Self: Sized + Message { ... }
unsafe fn representedElementCategory(&self) -> NSCollectionElementCategory
where Self: Sized + Message { ... }
unsafe fn representedElementKind(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
}
Available on crate feature
NSCollectionViewCompositionalLayout
only.Provided Methods§
unsafe fn alpha(&self) -> CGFloat
unsafe fn setAlpha(&self, alpha: CGFloat)
unsafe fn zIndex(&self) -> NSInteger
unsafe fn setZIndex(&self, z_index: NSInteger)
unsafe fn isHidden(&self) -> bool
unsafe fn setHidden(&self, hidden: bool)
unsafe fn center(&self) -> NSPoint
unsafe fn setCenter(&self, center: NSPoint)
unsafe fn name(&self) -> Retained<NSString>
unsafe fn indexPath(&self) -> Retained<NSIndexPath>
unsafe fn frame(&self) -> NSRect
unsafe fn bounds(&self) -> NSRect
unsafe fn representedElementCategory(&self) -> NSCollectionElementCategory
Available on crate feature
NSCollectionViewLayout
only.