Struct kurbo::ConstPoint[][src]

pub struct ConstPoint(_);
Expand description

A trivial “curve” that is just a constant.

Implementations

Is this point finite?

Is this point NaN?

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Evaluate the curve at parameter t. Read more

Get a subsegment of the curve for the given parameter range.

Subdivide into (roughly) halves.

The start point.

The end point.

The arc length of the curve. Read more

Solve for the parameter that has the given arc length from the start. Read more

The parametric curve obtained by taking the derivative of this one.

The derivative of the curve. Read more

Estimate arclength using Gaussian quadrature. Read more

Serialize this value into the given Serde serializer. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.