pub unsafe trait NSUserInterfaceCompression {
// Provided methods
unsafe fn compressWithPrioritizedCompressionOptions(
&self,
prioritized_options: &NSArray<NSUserInterfaceCompressionOptions>
)
where Self: Sized + Message { ... }
unsafe fn minimumSizeWithPrioritizedCompressionOptions(
&self,
prioritized_options: &NSArray<NSUserInterfaceCompressionOptions>
) -> NSSize
where Self: Sized + Message { ... }
unsafe fn activeCompressionOptions(
&self
) -> Retained<NSUserInterfaceCompressionOptions>
where Self: Sized + Message { ... }
}
Available on crate feature
NSUserInterfaceCompression
only.Provided Methods§
unsafe fn compressWithPrioritizedCompressionOptions( &self, prioritized_options: &NSArray<NSUserInterfaceCompressionOptions> )
unsafe fn minimumSizeWithPrioritizedCompressionOptions( &self, prioritized_options: &NSArray<NSUserInterfaceCompressionOptions> ) -> NSSize
unsafe fn activeCompressionOptions( &self ) -> Retained<NSUserInterfaceCompressionOptions>
Trait Implementations§
source§impl ProtocolType for dyn NSUserInterfaceCompression
impl ProtocolType for dyn NSUserInterfaceCompression
impl<T> ImplementedBy<T> for dyn NSUserInterfaceCompression
Implementations on Foreign Types§
impl<T> NSUserInterfaceCompression for ProtocolObject<T>where
T: ?Sized + NSUserInterfaceCompression,
Implementors§
impl NSUserInterfaceCompression for NSButton
Available on crate features
NSControl
and NSResponder
and NSView
and NSButton
only.impl NSUserInterfaceCompression for NSPopUpButton
Available on crate features
NSButton
and NSControl
and NSResponder
and NSView
and NSPopUpButton
only.impl NSUserInterfaceCompression for NSSegmentedControl
Available on crate features
NSControl
and NSResponder
and NSView
and NSSegmentedControl
only.impl NSUserInterfaceCompression for NSStatusBarButton
Available on crate features
NSButton
and NSControl
and NSResponder
and NSView
and NSStatusBarButton
only.