#[non_exhaustive]pub struct MergedPoint {
pub input: u32,
pub kept: u32,
}Expand description
An input point merged into an exactly coincident one.
Two input points at the same position are one vertex of the triangulation: the lowest input index at that position is kept, and the others are reported here. No triangle uses a merged index.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.input: u32The input index that was merged.
kept: u32The input index that stands for it in the triangles: the lowest index at the same position.
Trait Implementations§
Source§impl Clone for MergedPoint
impl Clone for MergedPoint
Source§fn clone(&self) -> MergedPoint
fn clone(&self) -> MergedPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MergedPoint
Source§impl Debug for MergedPoint
impl Debug for MergedPoint
impl Eq for MergedPoint
Source§impl Hash for MergedPoint
impl Hash for MergedPoint
Source§impl Ord for MergedPoint
impl Ord for MergedPoint
Source§fn cmp(&self, other: &MergedPoint) -> Ordering
fn cmp(&self, other: &MergedPoint) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MergedPoint
impl PartialEq for MergedPoint
Source§impl PartialOrd for MergedPoint
impl PartialOrd for MergedPoint
impl StructuralPartialEq for MergedPoint
Auto Trait Implementations§
impl Freeze for MergedPoint
impl RefUnwindSafe for MergedPoint
impl Send for MergedPoint
impl Sync for MergedPoint
impl Unpin for MergedPoint
impl UnsafeUnpin for MergedPoint
impl UnwindSafe for MergedPoint
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