IconThemeReadOptions.this

Setting parameters in any order, leaving not mentioned ones in default state.

struct IconThemeReadOptions
@nogc @safe nothrow pure
this
(
Args...
)
(
Args args
)

Examples

IconThemeReadOptions options;

options = IconThemeReadOptions(
    ExtensionGroupPolicy.skip,
    UnknownGroupPolicy.preserve,
    DuplicateKeyPolicy.skip,
    DuplicateGroupPolicy.preserve,
    No.preserveComments
);

assert(options.unknownGroupPolicy == UnknownGroupPolicy.preserve);
assert(options.extensionGroupPolicy == ExtensionGroupPolicy.skip);
assert(options.duplicateGroupPolicy == DuplicateGroupPolicy.preserve);
assert(options.duplicateKeyPolicy == DuplicateKeyPolicy.skip);
assert(!options.preserveComments);

Meta