[][src]Trait image_capture_core::scanner_functional_units::ICScannerFeatureEnumeration

pub trait ICScannerFeatureEnumeration: Sized {
    unsafe fn currentValue(self) -> id;
unsafe fn setCurrentValue(self, currentValue: id);
unsafe fn defaultValue(self) -> id;
unsafe fn values(self) -> id;
unsafe fn menuItemLabels(self) -> id;
unsafe fn menuItemLabelsTooltips(self) -> id; }

ICScannerFeature class is an abstract base class used to describe a scanner feature.

Required methods

unsafe fn currentValue(self) -> id

The current value. The current value can be set to one of the possible values in the "values" property below.

unsafe fn setCurrentValue(self, currentValue: id)

Set the current value

unsafe fn defaultValue(self) -> id

The default value. The default value can be set to one of the possible values in the "values" property below.

unsafe fn values(self) -> id

An array of possible values. All items in this array must be of same type.

unsafe fn menuItemLabels(self) -> id

The human readable menu item labels to be used in a menu to allow the user to select the current value from an array of possible values.

unsafe fn menuItemLabelsTooltips(self) -> id

Tooltip text associated with the menu items.

Loading content...

Implementations on Foreign Types

impl ICScannerFeatureEnumeration for id[src]

Loading content...

Implementors

Loading content...