pub struct PlaneSplitAnchor {
    pub spatial_node_index: SpatialNodeIndex,
    pub instance_index: PrimitiveInstanceIndex,
}Expand description
Custom field embedded inside the Polygon struct of the plane-split crate.
Fields§
§spatial_node_index: SpatialNodeIndex§instance_index: PrimitiveInstanceIndexImplementations§
Source§impl PlaneSplitAnchor
 
impl PlaneSplitAnchor
pub fn new( spatial_node_index: SpatialNodeIndex, instance_index: PrimitiveInstanceIndex, ) -> Self
Trait Implementations§
Source§impl Clone for PlaneSplitAnchor
 
impl Clone for PlaneSplitAnchor
Source§fn clone(&self) -> PlaneSplitAnchor
 
fn clone(&self) -> PlaneSplitAnchor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for PlaneSplitAnchor
 
impl Debug for PlaneSplitAnchor
Source§impl Default for PlaneSplitAnchor
 
impl Default for PlaneSplitAnchor
Source§impl Serialize for PlaneSplitAnchor
 
impl Serialize for PlaneSplitAnchor
impl Copy for PlaneSplitAnchor
Auto Trait Implementations§
impl Freeze for PlaneSplitAnchor
impl RefUnwindSafe for PlaneSplitAnchor
impl Send for PlaneSplitAnchor
impl Sync for PlaneSplitAnchor
impl Unpin for PlaneSplitAnchor
impl UnwindSafe for PlaneSplitAnchor
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more