Type alias SANEOptionDescriptor
SANEOptionDescriptor: { cap: SANECap; desc: string; name: string; size: number; title: string; type: SANEValueType; unit: SANEUnit; } & ({ constraint: null; constraint_type: NONE; } | { constraint: SANERange; constraint_type: RANGE; } | { constraint: number[]; constraint_type: WORD_LIST; } | { constraint: string[]; constraint_type: STRING_LIST; })
Type declaration
-
-
desc: string
-
name: string
-
size: number
-
title: string
-
-
Equivalent to the SANE API C type
SANE_Option_Descriptor
.