Trait objc2_app_kit::NSUserInterfaceCompression

source ·
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§

Trait Implementations§

source§

impl ProtocolType for dyn NSUserInterfaceCompression

source§

const NAME: &'static str = "NSUserInterfaceCompression"

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 NSUserInterfaceCompression

Implementations on Foreign Types§

source§

impl<T> NSUserInterfaceCompression for ProtocolObject<T>

Implementors§

source§

impl NSUserInterfaceCompression for NSButton

Available on crate features NSControl and NSResponder and NSView and NSButton only.
source§

impl NSUserInterfaceCompression for NSPopUpButton

Available on crate features NSButton and NSControl and NSResponder and NSView and NSPopUpButton only.
source§

impl NSUserInterfaceCompression for NSSegmentedControl

Available on crate features NSControl and NSResponder and NSView and NSSegmentedControl only.
source§

impl NSUserInterfaceCompression for NSStatusBarButton

Available on crate features NSButton and NSControl and NSResponder and NSView and NSStatusBarButton only.