pub enum CompressedTriangle {
Width16(Triangle16),
Width32(Triangle32),
}Expand description
Decoded triangle from a Bunny compressed mesh payload.
Variants§
Width16(Triangle16)
A 16-bit triangle index record.
Width32(Triangle32)
A 32-bit triangle index record.
Trait Implementations§
Source§impl Clone for CompressedTriangle
impl Clone for CompressedTriangle
Source§fn clone(&self) -> CompressedTriangle
fn clone(&self) -> CompressedTriangle
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 CompressedTriangle
Source§impl Debug for CompressedTriangle
impl Debug for CompressedTriangle
impl Eq for CompressedTriangle
Source§impl PartialEq for CompressedTriangle
impl PartialEq for CompressedTriangle
Source§fn eq(&self, other: &CompressedTriangle) -> bool
fn eq(&self, other: &CompressedTriangle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompressedTriangle
Auto Trait Implementations§
impl Freeze for CompressedTriangle
impl RefUnwindSafe for CompressedTriangle
impl Send for CompressedTriangle
impl Sync for CompressedTriangle
impl Unpin for CompressedTriangle
impl UnsafeUnpin for CompressedTriangle
impl UnwindSafe for CompressedTriangle
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