Enum gilrs::ff::DistanceModelError [] [src]

pub enum DistanceModelError {
    InvalidReferenceDistance,
    InvalidRolloffFactor,
    InvalidMaxDistance,
    InvalidModelParameter,
    // some variants omitted
}

Error that can be returned when passing DistanceModel with invalid value.

Variants

Reference distance is < 0.

Rolloff factor is < 0.

Max distance is < 0.

Possible divide by zero

Trait Implementations

impl Copy for DistanceModelError
[src]

impl Clone for DistanceModelError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DistanceModelError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DistanceModelError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Error for DistanceModelError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for DistanceModelError
[src]

[src]

Formats the value using the given formatter. Read more