pub trait ICScannerFeatureEnumeration: Sized {
// Required methods
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;
}Expand description
ICScannerFeature class is an abstract base class used to describe a scanner feature.
Required Methods§
Sourceunsafe fn currentValue(self) -> id
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.
Sourceunsafe fn setCurrentValue(self, currentValue: id)
unsafe fn setCurrentValue(self, currentValue: id)
Set the current value
Sourceunsafe fn defaultValue(self) -> id
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.
Sourceunsafe fn values(self) -> id
unsafe fn values(self) -> id
An array of possible values. All items in this array must be of same type.
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.
Tooltip text associated with the menu items.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".