fun from(list: Collection<ScanningSdkLibrary.Feature>): EnumSet<ScanningSdkLibrary.Feature>
Converts any collection of features into the EnumSet expects.
Return
an EnumSet holding them, or NONE if the collection was empty
Parameters
- list — the features to check for; may be empty