sane-wasm - v0.6.1
    Preparing search index...

    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 }
    )

    Equivalent to the SANE API C type SANE_Option_Descriptor.