Struct libfive::Variables[][src]

pub struct Variables { /* fields omitted */ }
Expand description

Set of variables to parameterize a Tree.

Implementations

Creates a new, empty set of variables.

Adds the variable name to the set.

Errors

Returns Error::VariableAlreadyAdded if the variable already exists in the set.

Sets the variable name to value.

Errors

Returns Error::VariableNotFound if the variable does not exist in the set.

Trait Implementations

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

Executes the destructor for this 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

Performs the conversion.

Performs the conversion.

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.