Struct rute::auto::polygon_f_ffi::RUPolygonFFuncs
source · #[repr(C)]pub struct RUPolygonFFuncs {
pub destroy: extern "C" fn(self_c: *const RUBase),
pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase),
pub to_polygon: extern "C" fn(self_c: *const RUBase) -> RUPolygon,
pub is_closed: extern "C" fn(self_c: *const RUBase) -> bool,
pub bounding_rect: extern "C" fn(self_c: *const RUBase) -> RURectF,
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) -> RUPolygonF,
pub intersected: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygonF,
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)
to_polygon: extern "C" fn(self_c: *const RUBase) -> RUPolygon
is_closed: extern "C" fn(self_c: *const RUBase) -> bool
bounding_rect: extern "C" fn(self_c: *const RUBase) -> RURectF
contains_point: extern "C" fn(self_c: *const RUBase, pt: *const RUBase, fill_rule: u32) -> bool
united: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygonF
intersected: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> RUPolygonF
intersects: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool
Trait Implementations
sourceimpl Clone for RUPolygonFFuncs
impl Clone for RUPolygonFFuncs
sourcefn clone(&self) -> RUPolygonFFuncs
fn clone(&self) -> RUPolygonFFuncs
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 RUPolygonFFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPolygonFFuncs
impl Send for RUPolygonFFuncs
impl Sync for RUPolygonFFuncs
impl Unpin for RUPolygonFFuncs
impl UnwindSafe for RUPolygonFFuncs
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