Enum physx_sys::PxBufferType
source · #[repr(i32)]pub enum PxBufferType {
Host = 0,
Device = 1,
}
Expand description
Specifies memory space for a PxBuffer instance.
Variants§
Trait Implementations§
source§impl Clone for PxBufferType
impl Clone for PxBufferType
source§fn clone(&self) -> PxBufferType
fn clone(&self) -> PxBufferType
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 PxBufferType
impl Debug for PxBufferType
source§impl PartialEq for PxBufferType
impl PartialEq for PxBufferType
source§fn eq(&self, other: &PxBufferType) -> bool
fn eq(&self, other: &PxBufferType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxBufferType
impl Eq for PxBufferType
impl StructuralEq for PxBufferType
impl StructuralPartialEq for PxBufferType
Auto Trait Implementations§
impl RefUnwindSafe for PxBufferType
impl Send for PxBufferType
impl Sync for PxBufferType
impl Unpin for PxBufferType
impl UnwindSafe for PxBufferType
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