pub struct ClipTreeSolution64 { /* private fields */ }Expand description
Result of Clipper64::execute_tree: optional PolyPath64 root + open paths.
树形 execute_tree 结果:可选的多边形树根指针与开放路径。
The polygon tree must be consumed via Self::into_open_and_poly_preorder or dropped;
use Self::into_open_lazy to discard the tree.
多边形树须通过前序迭代消费或析构;若只要开放解可用 into_open_lazy。
Implementations§
Source§impl ClipTreeSolution64
impl ClipTreeSolution64
Sourcepub fn has_poly_tree(&self) -> bool
pub fn has_poly_tree(&self) -> bool
true if a non-null polygon tree root exists. / 是否存在非空多边形树根。
Sourcepub fn open_is_empty(&self) -> bool
pub fn open_is_empty(&self) -> bool
No open paths when true. / 无开放路径。
Sourcepub fn iter_open(&self) -> PathsBlob64Iter<'_> ⓘ
pub fn iter_open(&self) -> PathsBlob64Iter<'_> ⓘ
Open-path iterator. / 开放路径迭代器。
Sourcepub fn into_open_lazy(self) -> LazyPaths64
pub fn into_open_lazy(self) -> LazyPaths64
Frees the polygon tree and returns lazy open paths only. / 释放树,仅返回开放路径惰性包装。
Sourcepub fn into_open_and_poly_preorder(self) -> (LazyPaths64, PolyCxxPreorderIter64)
pub fn into_open_and_poly_preorder(self) -> (LazyPaths64, PolyCxxPreorderIter64)
Lazy open paths + preorder iterator over the C++ PolyPath64 tree (frees tree on drop).
开放路径惰性包装 + C++ PolyPath64 前序迭代器(迭代器 Drop 时释放整棵子树)。
Trait Implementations§
Source§impl Debug for ClipTreeSolution64
impl Debug for ClipTreeSolution64
Auto Trait Implementations§
impl Freeze for ClipTreeSolution64
impl RefUnwindSafe for ClipTreeSolution64
impl Send for ClipTreeSolution64
impl Sync for ClipTreeSolution64
impl Unpin for ClipTreeSolution64
impl UnsafeUnpin for ClipTreeSolution64
impl UnwindSafe for ClipTreeSolution64
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