pub struct PrimitiveIndex {
pub mesh: MeshIndex,
pub primitive: usize,
}Expand description
Typed location of a primitive nested in one mesh.
Fields§
§mesh: MeshIndexMesh containing the primitive.
primitive: usizeZero-based primitive position inside the mesh.
Implementations§
Trait Implementations§
Source§impl Clone for PrimitiveIndex
impl Clone for PrimitiveIndex
Source§fn clone(&self) -> PrimitiveIndex
fn clone(&self) -> PrimitiveIndex
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 PrimitiveIndex
Source§impl Debug for PrimitiveIndex
impl Debug for PrimitiveIndex
Source§impl Default for PrimitiveIndex
impl Default for PrimitiveIndex
Source§fn default() -> PrimitiveIndex
fn default() -> PrimitiveIndex
Returns the “default value” for a type. Read more
impl Eq for PrimitiveIndex
Source§impl Hash for PrimitiveIndex
impl Hash for PrimitiveIndex
Source§impl Ord for PrimitiveIndex
impl Ord for PrimitiveIndex
Source§fn cmp(&self, other: &PrimitiveIndex) -> Ordering
fn cmp(&self, other: &PrimitiveIndex) -> 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 PrimitiveIndex
impl PartialEq for PrimitiveIndex
Source§impl PartialOrd for PrimitiveIndex
impl PartialOrd for PrimitiveIndex
impl StructuralPartialEq for PrimitiveIndex
Auto Trait Implementations§
impl Freeze for PrimitiveIndex
impl RefUnwindSafe for PrimitiveIndex
impl Send for PrimitiveIndex
impl Sync for PrimitiveIndex
impl Unpin for PrimitiveIndex
impl UnsafeUnpin for PrimitiveIndex
impl UnwindSafe for PrimitiveIndex
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