Struct msdfgen::CubicSegment

source ·
#[repr(transparent)]
pub struct CubicSegment { /* private fields */ }
Expand description

Quadratic segment object

Implementations§

Creates new cubic curve segment

Trait Implementations§

Gets segment kind
Gets starting point of segment
Gets starting point of segment (mutable)
Gets control point of segment
Gets control point of segment (mutable)
Gets end point of segment
Gets end point of segment (mutable)
Gets edge color of segment
Gets edge color of segment (mutable)

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.