pub struct PhotometricWebBuilder { /* private fields */ }
Expand description

The object that builds PhotometricWeb objects. This can instantiate from values, or read from a file of one of the supported types.

Implementations

Generated a builder instance from a file path.

Attempts to return the correct file parser for the given provided file. Returns a boxed reader if valid, else an Error::InvalidFileType error is resturned.

Attempts to build the photometric web from the provided information.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.