#[repr(i32)]pub enum PxTriangleMeshCookingResult {
Success = 0,
LargeTriangle = 1,
Failure = 2,
}
Expand description
Result from triangle mesh cooking
Variants§
Success = 0
Everything is A-OK.
LargeTriangle = 1
a triangle is too large for well-conditioned results. Tessellate the mesh for better behavior, see the user guide section on cooking for more details.
Failure = 2
Something unrecoverable happened. Check the error stream to find out what.
Trait Implementations§
source§impl Clone for PxTriangleMeshCookingResult
impl Clone for PxTriangleMeshCookingResult
source§fn clone(&self) -> PxTriangleMeshCookingResult
fn clone(&self) -> PxTriangleMeshCookingResult
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 PxTriangleMeshCookingResult
impl Debug for PxTriangleMeshCookingResult
source§impl PartialEq for PxTriangleMeshCookingResult
impl PartialEq for PxTriangleMeshCookingResult
source§fn eq(&self, other: &PxTriangleMeshCookingResult) -> bool
fn eq(&self, other: &PxTriangleMeshCookingResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxTriangleMeshCookingResult
impl Eq for PxTriangleMeshCookingResult
impl StructuralEq for PxTriangleMeshCookingResult
impl StructuralPartialEq for PxTriangleMeshCookingResult
Auto Trait Implementations§
impl RefUnwindSafe for PxTriangleMeshCookingResult
impl Send for PxTriangleMeshCookingResult
impl Sync for PxTriangleMeshCookingResult
impl Unpin for PxTriangleMeshCookingResult
impl UnwindSafe for PxTriangleMeshCookingResult
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