Struct rute::auto::polygon_ffi::RUPolygonFuncs
source · #[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: i32) -> 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) -> RURect
point_2: extern "C" fn(self_c: *const RUBase, i: i32) -> RUPoint
set_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: i32) -> bool
united: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygon
intersected: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygon
intersects: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool
Trait Implementations
sourceimpl Clone for RUPolygonFuncs
impl Clone for RUPolygonFuncs
sourcefn clone(&self) -> RUPolygonFuncs
fn clone(&self) -> RUPolygonFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUPolygonFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPolygonFuncs
impl Send for RUPolygonFuncs
impl Sync for RUPolygonFuncs
impl Unpin for RUPolygonFuncs
impl UnwindSafe for RUPolygonFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more