Struct ExoHingeGpu
#[repr(C)]pub struct ExoHingeGpu {
pub axis_theta: [f32; 4],
pub omega_bounds_inertia: [f32; 4],
pub hyd_pressure_area_arm_sign: [f32; 4],
pub torque_stiff_damp_rest: [f32; 4],
}Expand description
GPU-aligned 64-byte dicondylic hinge + hemolymph state matching EXOSKELETAL_CUTICLE_WGSL.
Fields§
§axis_theta: [f32; 4]§omega_bounds_inertia: [f32; 4]§hyd_pressure_area_arm_sign: [f32; 4]§torque_stiff_damp_rest: [f32; 4]Trait Implementations§
§impl Clone for ExoHingeGpu
impl Clone for ExoHingeGpu
§fn clone(&self) -> ExoHingeGpu
fn clone(&self) -> ExoHingeGpu
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 ExoHingeGpu
§impl Debug for ExoHingeGpu
impl Debug for ExoHingeGpu
§impl Default for ExoHingeGpu
impl Default for ExoHingeGpu
§fn default() -> ExoHingeGpu
fn default() -> ExoHingeGpu
Returns the “default value” for a type. Read more
§impl PartialEq for ExoHingeGpu
impl PartialEq for ExoHingeGpu
impl Pod for ExoHingeGpu
impl StructuralPartialEq for ExoHingeGpu
Auto Trait Implementations§
impl Freeze for ExoHingeGpu
impl RefUnwindSafe for ExoHingeGpu
impl Send for ExoHingeGpu
impl Sync for ExoHingeGpu
impl Unpin for ExoHingeGpu
impl UnsafeUnpin for ExoHingeGpu
impl UnwindSafe for ExoHingeGpu
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.