#[repr(C)]
pub struct RULineFFuncs {
Show 27 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub from_polar: extern "C" fn(self_c: *const RUBase, length: f32, angle: f32) -> RULineF, pub is_null: extern "C" fn(self_c: *const RUBase) -> bool, pub p1: extern "C" fn(self_c: *const RUBase) -> RUPointF, pub p2: extern "C" fn(self_c: *const RUBase) -> RUPointF, pub x1: extern "C" fn(self_c: *const RUBase) -> f32, pub y1: extern "C" fn(self_c: *const RUBase) -> f32, pub x2: extern "C" fn(self_c: *const RUBase) -> f32, pub y2: extern "C" fn(self_c: *const RUBase) -> f32, pub dx: extern "C" fn(self_c: *const RUBase) -> f32, pub dy: extern "C" fn(self_c: *const RUBase) -> f32, pub length: extern "C" fn(self_c: *const RUBase) -> f32, pub set_length: extern "C" fn(self_c: *const RUBase, len: f32), pub angle: extern "C" fn(self_c: *const RUBase) -> f32, pub set_angle: extern "C" fn(self_c: *const RUBase, angle: f32), pub angle_to: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> f32, pub unit_vector: extern "C" fn(self_c: *const RUBase) -> RULineF, pub normal_vector: extern "C" fn(self_c: *const RUBase) -> RULineF, pub intersect: extern "C" fn(self_c: *const RUBase, l: *const RUBase, intersection_point: *const RUBase) -> u32, pub angle_2: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> f32, pub point_at: extern "C" fn(self_c: *const RUBase, t: f32) -> RUPointF, pub center: extern "C" fn(self_c: *const RUBase) -> RUPointF, pub set_p1: extern "C" fn(self_c: *const RUBase, p1: *const RUBase), pub set_p2: extern "C" fn(self_c: *const RUBase, p2: *const RUBase), pub set_points: extern "C" fn(self_c: *const RUBase, p1: *const RUBase, p2: *const RUBase), pub set_line: extern "C" fn(self_c: *const RUBase, x1: f32, y1: f32, x2: f32, y2: f32), pub to_line: extern "C" fn(self_c: *const RUBase) -> RULine,
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)from_polar: extern "C" fn(self_c: *const RUBase, length: f32, angle: f32) -> RULineFis_null: extern "C" fn(self_c: *const RUBase) -> boolp1: extern "C" fn(self_c: *const RUBase) -> RUPointFp2: extern "C" fn(self_c: *const RUBase) -> RUPointFx1: extern "C" fn(self_c: *const RUBase) -> f32y1: extern "C" fn(self_c: *const RUBase) -> f32x2: extern "C" fn(self_c: *const RUBase) -> f32y2: extern "C" fn(self_c: *const RUBase) -> f32dx: extern "C" fn(self_c: *const RUBase) -> f32dy: extern "C" fn(self_c: *const RUBase) -> f32length: extern "C" fn(self_c: *const RUBase) -> f32set_length: extern "C" fn(self_c: *const RUBase, len: f32)angle: extern "C" fn(self_c: *const RUBase) -> f32set_angle: extern "C" fn(self_c: *const RUBase, angle: f32)angle_to: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> f32unit_vector: extern "C" fn(self_c: *const RUBase) -> RULineFnormal_vector: extern "C" fn(self_c: *const RUBase) -> RULineFintersect: extern "C" fn(self_c: *const RUBase, l: *const RUBase, intersection_point: *const RUBase) -> u32angle_2: extern "C" fn(self_c: *const RUBase, l: *const RUBase) -> f32point_at: extern "C" fn(self_c: *const RUBase, t: f32) -> RUPointFcenter: extern "C" fn(self_c: *const RUBase) -> RUPointFset_p1: extern "C" fn(self_c: *const RUBase, p1: *const RUBase)set_p2: extern "C" fn(self_c: *const RUBase, p2: *const RUBase)set_points: extern "C" fn(self_c: *const RUBase, p1: *const RUBase, p2: *const RUBase)set_line: extern "C" fn(self_c: *const RUBase, x1: f32, y1: f32, x2: f32, y2: f32)to_line: extern "C" fn(self_c: *const RUBase) -> RULine

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. 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

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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.