pub struct PhysicsBodyArgs<'a> {
pub node_id: Option<WIPOffset<&'a str>>,
pub target_node_id: Option<WIPOffset<&'a str>>,
pub stiffness: f32,
pub damping: f32,
pub mass: f32,
pub friction: f32,
pub restitution: f32,
pub interruptible: bool,
}Fields§
§node_id: Option<WIPOffset<&'a str>>§target_node_id: Option<WIPOffset<&'a str>>§stiffness: f32§damping: f32§mass: f32§friction: f32§restitution: f32§interruptible: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PhysicsBodyArgs<'a>
impl<'a> RefUnwindSafe for PhysicsBodyArgs<'a>
impl<'a> Send for PhysicsBodyArgs<'a>
impl<'a> Sync for PhysicsBodyArgs<'a>
impl<'a> Unpin for PhysicsBodyArgs<'a>
impl<'a> UnsafeUnpin for PhysicsBodyArgs<'a>
impl<'a> UnwindSafe for PhysicsBodyArgs<'a>
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