pub struct PointIndex {
pub object: usize,
pub point: usize,
}Expand description
Identifies a single point: the object within a layer and the point within it.
Fields§
§object: usizeIndex of the object within the layer.
point: usizeIndex of the point within the object.
Trait Implementations§
Source§impl Clone for PointIndex
impl Clone for PointIndex
Source§fn clone(&self) -> PointIndex
fn clone(&self) -> PointIndex
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 PointIndex
Source§impl Debug for PointIndex
impl Debug for PointIndex
impl Eq for PointIndex
Source§impl PartialEq for PointIndex
impl PartialEq for PointIndex
Source§fn eq(&self, other: &PointIndex) -> bool
fn eq(&self, other: &PointIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PointIndex
Auto Trait Implementations§
impl Freeze for PointIndex
impl RefUnwindSafe for PointIndex
impl Send for PointIndex
impl Sync for PointIndex
impl Unpin for PointIndex
impl UnsafeUnpin for PointIndex
impl UnwindSafe for PointIndex
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