pub struct IndexTuple(pub usize, pub Option<usize>, pub Option<usize>);
Expand description
A tuple of position, texture and normal indices assigned to each polygon vertex.
These appear as /
separated indices in .obj
files.
Tuple Fields§
§0: usize
§1: Option<usize>
§2: Option<usize>
Trait Implementations§
Source§impl Clone for IndexTuple
impl Clone for IndexTuple
Source§fn clone(&self) -> IndexTuple
fn clone(&self) -> IndexTuple
Returns a copy 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 IndexTuple
impl Debug for IndexTuple
Source§impl Display for IndexTuple
impl Display for IndexTuple
Source§impl Hash for IndexTuple
impl Hash for IndexTuple
Source§impl Ord for IndexTuple
impl Ord for IndexTuple
Source§fn cmp(&self, other: &IndexTuple) -> Ordering
fn cmp(&self, other: &IndexTuple) -> Ordering
1.21.0 · 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 IndexTuple
impl PartialEq for IndexTuple
Source§impl PartialOrd for IndexTuple
impl PartialOrd for IndexTuple
impl Copy for IndexTuple
impl Eq for IndexTuple
impl StructuralPartialEq for IndexTuple
Auto Trait Implementations§
impl Freeze for IndexTuple
impl RefUnwindSafe for IndexTuple
impl Send for IndexTuple
impl Sync for IndexTuple
impl Unpin for IndexTuple
impl UnwindSafe for IndexTuple
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