Skip to content

Simplify for optional value types #292

Open
@kennykerr

Description

@kennykerr

WinRT uses IReference<T> parameter and field types to indicate that a given argument/value is optional. This should be expressed in Rust using Option<T>. In particular, we should add Param specializations (as we do for strings) for IReference<T> input parameters to allow parameters to either accept T or None.

This builds on #92.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions