pub struct PolyPathD { /* private fields */ }Expand description
PolyPathD - Double coordinate polytree node Direct port from clipper.engine.h line 385
Implementations§
Source§impl PolyPathD
impl PolyPathD
pub fn new() -> Self
pub fn with_parent(parent_idx: usize, scale: f64) -> Self
pub fn polygon(&self) -> &PathD
pub fn set_polygon(&mut self, polygon: PathD)
pub fn count(&self) -> usize
pub fn scale(&self) -> f64
pub fn set_scale(&mut self, scale: f64)
pub fn parent(&self) -> Option<usize>
pub fn children(&self) -> &[usize]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PolyPathD
impl RefUnwindSafe for PolyPathD
impl Send for PolyPathD
impl Sync for PolyPathD
impl Unpin for PolyPathD
impl UnwindSafe for PolyPathD
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more