#[repr(C)]pub struct b3ChildShape {
pub __bindgen_anon_1: b3ChildShape__bindgen_ty_1,
pub transform: b3Transform,
pub materialIndices: [c_int; 4],
pub type_: b3ShapeType,
}Expand description
Child shape of a compound
Fields§
§__bindgen_anon_1: b3ChildShape__bindgen_ty_1§transform: b3TransformTransform of the shape into compound local space.
materialIndices: [c_int; 4]Material indices. Index 0 is used for convex shapes. todo limit to 64K?
type_: b3ShapeTypeThe shape type (union tag).
Trait Implementations§
Source§impl Clone for b3ChildShape
impl Clone for b3ChildShape
Source§fn clone(&self) -> b3ChildShape
fn clone(&self) -> b3ChildShape
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 b3ChildShape
Auto Trait Implementations§
impl !Send for b3ChildShape
impl !Sync for b3ChildShape
impl Freeze for b3ChildShape
impl RefUnwindSafe for b3ChildShape
impl Unpin for b3ChildShape
impl UnsafeUnpin for b3ChildShape
impl UnwindSafe for b3ChildShape
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