pub struct Curve<'a> {
    pub x_range: Range<i32>,
    pub y_range: Range<i32>,
    /* private fields */
}
Expand description

curve object that contains data to be plotted

Fields

x_range: Range<i32>y_range: Range<i32>

Implementations

create new curve data with manual ranges

create new curve data with ranges automatically deducted based on provided points

create curve that can be drawed on specific display

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.

Should always be Self

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.