Struct reproto_core::Options [] [src]

pub struct Options { /* fields omitted */ }

Helper for looking up and dealing with options.

Methods

impl Options
[src]

[src]

[src]

[src]

[src]

Find all strings matching the given name.

This enforces that all found values are strings, otherwise the lookup will cause an error.

[src]

[src]

Optionally find exactly one identifier matching the given name.

This enforces that all found values are identifiers, otherwise the lookup will cause an error.

[src]

[src]

[src]

[src]

Find all identifiers matching the given name.

This enforces that all found values are identifiers, otherwise the lookup will cause an error.

Trait Implementations

impl Debug for Options
[src]

[src]

Formats the value using the given formatter.

impl Clone for Options
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more