logo
#[repr(C)]
pub struct Position { pub x_pos: c_double, pub y_pos: c_double, }
Expand description

FFI struct for returned optimum Polygon label position

Fields

x_pos: c_doubley_pos: c_double

Trait Implementations

Converts to this type from the input type.

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.