Enum physx_sys::PxDeletionEventFlag
source · #[repr(i32)]pub enum PxDeletionEventFlag {
UserRelease = 1,
MemoryRelease = 2,
}
Expand description
Flags specifying deletion event types.
Variants§
UserRelease = 1
The user has called release on an object.
MemoryRelease = 2
The destructor of an object has been called and the memory has been released.
Trait Implementations§
source§impl Clone for PxDeletionEventFlag
impl Clone for PxDeletionEventFlag
source§fn clone(&self) -> PxDeletionEventFlag
fn clone(&self) -> PxDeletionEventFlag
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 PxDeletionEventFlag
impl Debug for PxDeletionEventFlag
source§impl PartialEq for PxDeletionEventFlag
impl PartialEq for PxDeletionEventFlag
source§fn eq(&self, other: &PxDeletionEventFlag) -> bool
fn eq(&self, other: &PxDeletionEventFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxDeletionEventFlag
impl Eq for PxDeletionEventFlag
impl StructuralEq for PxDeletionEventFlag
impl StructuralPartialEq for PxDeletionEventFlag
Auto Trait Implementations§
impl RefUnwindSafe for PxDeletionEventFlag
impl Send for PxDeletionEventFlag
impl Sync for PxDeletionEventFlag
impl Unpin for PxDeletionEventFlag
impl UnwindSafe for PxDeletionEventFlag
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