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§

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) -> NSPoint
where Self: Sized + Message,

source

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

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) -> NSRect
where Self: Sized + Message,

source

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

source

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

Available on crate feature NSCollectionViewLayout 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§