Enum physx_sys::PxTaskType
source · #[repr(i32)]pub enum PxTaskType {
Cpu = 0,
NotPresent = 1,
Completed = 2,
}
Expand description
Identifies the type of each heavyweight PxTask object
Variants§
Cpu = 0
PxTask will be run on the CPU
NotPresent = 1
Return code when attempting to find a task that does not exist
Completed = 2
PxTask execution has been completed
Trait Implementations§
source§impl Clone for PxTaskType
impl Clone for PxTaskType
source§fn clone(&self) -> PxTaskType
fn clone(&self) -> PxTaskType
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 PxTaskType
impl Debug for PxTaskType
source§impl PartialEq for PxTaskType
impl PartialEq for PxTaskType
source§fn eq(&self, other: &PxTaskType) -> bool
fn eq(&self, other: &PxTaskType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxTaskType
impl Eq for PxTaskType
impl StructuralEq for PxTaskType
impl StructuralPartialEq for PxTaskType
Auto Trait Implementations§
impl RefUnwindSafe for PxTaskType
impl Send for PxTaskType
impl Sync for PxTaskType
impl Unpin for PxTaskType
impl UnwindSafe for PxTaskType
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