#[repr(C)]pub struct SoftAttachmentRecord {
pub local: [f32; 3],
pub particle: u32,
pub body_id: u32,
pub generation: u32,
pub _wgsl_pad0: [u8; 8],
}Fields§
§local: [f32; 3]§particle: u32§body_id: u32§generation: u32§_wgsl_pad0: [u8; 8]Implementations§
Source§impl SoftAttachmentRecord
impl SoftAttachmentRecord
pub fn build(init: SoftAttachmentInit) -> Self
pub const fn cleared() -> Self
Trait Implementations§
Source§impl Clone for SoftAttachmentRecord
impl Clone for SoftAttachmentRecord
Source§fn clone(&self) -> SoftAttachmentRecord
fn clone(&self) -> SoftAttachmentRecord
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 SoftAttachmentRecord
Source§impl Debug for SoftAttachmentRecord
impl Debug for SoftAttachmentRecord
Source§impl PartialEq for SoftAttachmentRecord
impl PartialEq for SoftAttachmentRecord
impl Pod for SoftAttachmentRecord
Source§impl StreamRecord for SoftAttachmentRecord
impl StreamRecord for SoftAttachmentRecord
impl StructuralPartialEq for SoftAttachmentRecord
Auto Trait Implementations§
impl Freeze for SoftAttachmentRecord
impl RefUnwindSafe for SoftAttachmentRecord
impl Send for SoftAttachmentRecord
impl Sync for SoftAttachmentRecord
impl Unpin for SoftAttachmentRecord
impl UnsafeUnpin for SoftAttachmentRecord
impl UnwindSafe for SoftAttachmentRecord
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§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.Source§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.