#[repr(C)]
pub struct RUPolygonFuncs {
Show 13 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase), pub bounding_rect: extern "C" fn(self_c: *const RUBase) -> RURect, pub point_2: extern "C" fn(self_c: *const RUBase, i: i32) -> RUPoint, pub set_point: extern "C" fn(self_c: *const RUBase, index: i32, x: i32, y: i32), pub set_point_2: extern "C" fn(self_c: *const RUBase, index: i32, p: *const RUBase), pub set_points_2: extern "C" fn(self_c: *const RUBase, n_points: i32, firstx: i32, firsty: i32), pub put_points_2: extern "C" fn(self_c: *const RUBase, index: i32, n_points: i32, firstx: i32, firsty: i32), pub put_points_3: extern "C" fn(self_c: *const RUBase, index: i32, n_points: i32, from: *const RUBase, from_index: i32), pub contains_point: extern "C" fn(self_c: *const RUBase, pt: *const RUBase, fill_rule: u32) -> bool, pub united: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygon, pub intersected: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygon, pub intersects: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool,
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase)bounding_rect: extern "C" fn(self_c: *const RUBase) -> RURectpoint_2: extern "C" fn(self_c: *const RUBase, i: i32) -> RUPointset_point: extern "C" fn(self_c: *const RUBase, index: i32, x: i32, y: i32)set_point_2: extern "C" fn(self_c: *const RUBase, index: i32, p: *const RUBase)set_points_2: extern "C" fn(self_c: *const RUBase, n_points: i32, firstx: i32, firsty: i32)put_points_2: extern "C" fn(self_c: *const RUBase, index: i32, n_points: i32, firstx: i32, firsty: i32)put_points_3: extern "C" fn(self_c: *const RUBase, index: i32, n_points: i32, from: *const RUBase, from_index: i32)contains_point: extern "C" fn(self_c: *const RUBase, pt: *const RUBase, fill_rule: u32) -> boolunited: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygonintersected: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygonintersects: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool

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.