Struct VbdVertexGpu
#[repr(C)]pub struct VbdVertexGpu {
pub pos_mass: [f32; 4],
pub inertia_color_pin: [f32; 4],
}Expand description
GPU-aligned 32-byte VBD vertex record matching VBD_SOFT_TISSUE_WGSL.
Fields§
§pos_mass: [f32; 4]§inertia_color_pin: [f32; 4]Trait Implementations§
§impl Clone for VbdVertexGpu
impl Clone for VbdVertexGpu
§fn clone(&self) -> VbdVertexGpu
fn clone(&self) -> VbdVertexGpu
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VbdVertexGpu
§impl Debug for VbdVertexGpu
impl Debug for VbdVertexGpu
§impl Default for VbdVertexGpu
impl Default for VbdVertexGpu
§fn default() -> VbdVertexGpu
fn default() -> VbdVertexGpu
Returns the “default value” for a type. Read more
§impl PartialEq for VbdVertexGpu
impl PartialEq for VbdVertexGpu
impl Pod for VbdVertexGpu
impl StructuralPartialEq for VbdVertexGpu
Auto Trait Implementations§
impl Freeze for VbdVertexGpu
impl RefUnwindSafe for VbdVertexGpu
impl Send for VbdVertexGpu
impl Sync for VbdVertexGpu
impl Unpin for VbdVertexGpu
impl UnsafeUnpin for VbdVertexGpu
impl UnwindSafe for VbdVertexGpu
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.