pub unsafe trait NSCollectionViewSectionHeaderView: NSCollectionViewElement + MainThreadOnly {
// Provided methods
fn sectionCollapseButton(&self) -> Option<Retained<NSButton>>
where Self: Sized + Message { ... }
fn setSectionCollapseButton(
&self,
section_collapse_button: Option<&NSButton>,
)
where Self: Sized + Message { ... }
}Available on crate features
NSCollectionView and NSUserInterfaceItemIdentification only.Expand description
Provided Methods§
fn sectionCollapseButton(&self) -> Option<Retained<NSButton>>
Available on crate features
NSButton and NSControl and NSResponder and NSView only.Sourcefn setSectionCollapseButton(&self, section_collapse_button: Option<&NSButton>)
Available on crate features NSButton and NSControl and NSResponder and NSView only.
fn setSectionCollapseButton(&self, section_collapse_button: Option<&NSButton>)
NSButton and NSControl and NSResponder and NSView only.Setter for sectionCollapseButton.
This is a weak property.
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSCollectionViewSectionHeaderView
Source§impl ProtocolType for dyn NSCollectionViewSectionHeaderView
impl ProtocolType for dyn NSCollectionViewSectionHeaderView
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".