pub unsafe trait NSCollectionLayoutVisibleItem: NSObjectProtocol + MainThreadOnly {
Show 14 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) -> NSPoint
where Self: Sized + Message { ... }
fn setCenter(&self, center: NSPoint)
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) -> NSRect
where Self: Sized + Message { ... }
fn bounds(&self) -> NSRect
where Self: Sized + Message { ... }
fn representedElementCategory(&self) -> NSCollectionElementCategory
where Self: Sized + Message { ... }
fn representedElementKind(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
}Available on crate feature
NSCollectionViewCompositionalLayout 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) -> NSPoint
fn name(&self) -> Retained<NSString>
fn indexPath(&self) -> Retained<NSIndexPath>
fn frame(&self) -> NSRect
fn bounds(&self) -> NSRect
fn representedElementCategory(&self) -> NSCollectionElementCategory
Available on crate feature
NSCollectionViewLayout only.fn representedElementKind(&self) -> Option<Retained<NSString>>
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSCollectionLayoutVisibleItem
Source§impl ProtocolType for dyn NSCollectionLayoutVisibleItem
impl ProtocolType for dyn NSCollectionLayoutVisibleItem
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".