Struct DcaBodyGpu
#[repr(C)]pub struct DcaBodyGpu {
pub q_qd_tau_mass: [f32; 4],
pub axis_ang_and_pad: [f32; 4],
pub axis_lin_and_pad: [f32; 4],
pub origin_and_parent: [f32; 4],
}Expand description
GPU-aligned 64-byte per-body state record matching DCA_MULTIBODY_WGSL.
Fields§
§q_qd_tau_mass: [f32; 4]§axis_ang_and_pad: [f32; 4]§axis_lin_and_pad: [f32; 4]§origin_and_parent: [f32; 4]Trait Implementations§
§impl Clone for DcaBodyGpu
impl Clone for DcaBodyGpu
§fn clone(&self) -> DcaBodyGpu
fn clone(&self) -> DcaBodyGpu
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 DcaBodyGpu
§impl Debug for DcaBodyGpu
impl Debug for DcaBodyGpu
§impl Default for DcaBodyGpu
impl Default for DcaBodyGpu
§fn default() -> DcaBodyGpu
fn default() -> DcaBodyGpu
Returns the “default value” for a type. Read more
§impl PartialEq for DcaBodyGpu
impl PartialEq for DcaBodyGpu
impl Pod for DcaBodyGpu
impl StructuralPartialEq for DcaBodyGpu
Auto Trait Implementations§
impl Freeze for DcaBodyGpu
impl RefUnwindSafe for DcaBodyGpu
impl Send for DcaBodyGpu
impl Sync for DcaBodyGpu
impl Unpin for DcaBodyGpu
impl UnsafeUnpin for DcaBodyGpu
impl UnwindSafe for DcaBodyGpu
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.