#[repr(i32)]pub enum PxSdfBitsPerSubgridPixel {
E8BitPerPixel = 1,
E16BitPerPixel = 2,
E32BitPerPixel = 4,
}
Expand description
Defines the number of bits per subgrid pixel
Variants§
E8BitPerPixel = 1
8 bit per subgrid pixel (values will be stored as normalized integers)
E16BitPerPixel = 2
16 bit per subgrid pixel (values will be stored as normalized integers)
E32BitPerPixel = 4
32 bit per subgrid pixel (values will be stored as floats in world scale units)
Trait Implementations§
source§impl Clone for PxSdfBitsPerSubgridPixel
impl Clone for PxSdfBitsPerSubgridPixel
source§fn clone(&self) -> PxSdfBitsPerSubgridPixel
fn clone(&self) -> PxSdfBitsPerSubgridPixel
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 PxSdfBitsPerSubgridPixel
impl Debug for PxSdfBitsPerSubgridPixel
source§impl PartialEq for PxSdfBitsPerSubgridPixel
impl PartialEq for PxSdfBitsPerSubgridPixel
source§fn eq(&self, other: &PxSdfBitsPerSubgridPixel) -> bool
fn eq(&self, other: &PxSdfBitsPerSubgridPixel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PxSdfBitsPerSubgridPixel
impl Eq for PxSdfBitsPerSubgridPixel
impl StructuralEq for PxSdfBitsPerSubgridPixel
impl StructuralPartialEq for PxSdfBitsPerSubgridPixel
Auto Trait Implementations§
impl RefUnwindSafe for PxSdfBitsPerSubgridPixel
impl Send for PxSdfBitsPerSubgridPixel
impl Sync for PxSdfBitsPerSubgridPixel
impl Unpin for PxSdfBitsPerSubgridPixel
impl UnwindSafe for PxSdfBitsPerSubgridPixel
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