pub struct CompoundChild {
pub shape: ShapeRef,
pub local_position: Vec3Fix,
pub local_rotation: QuatFix,
}Expand description
A child shape within a compound, with local transform
Fields§
§shape: ShapeRefThe shape
local_position: Vec3FixLocal position offset from compound center
local_rotation: QuatFixLocal rotation offset
Implementations§
Source§impl CompoundChild
impl CompoundChild
Trait Implementations§
Source§impl Clone for CompoundChild
impl Clone for CompoundChild
Auto Trait Implementations§
impl Freeze for CompoundChild
impl RefUnwindSafe for CompoundChild
impl Send for CompoundChild
impl Sync for CompoundChild
impl Unpin for CompoundChild
impl UnsafeUnpin for CompoundChild
impl UnwindSafe for CompoundChild
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more