pub struct GearJointDef {
pub collide_connected: bool,
pub joint_1: JointHandle,
pub joint_2: JointHandle,
pub ratio: f32,
}
Fields§
§collide_connected: bool
§joint_1: JointHandle
§joint_2: JointHandle
§ratio: f32
Implementations§
source§impl GearJointDef
impl GearJointDef
pub fn new(joint_1: JointHandle, joint_2: JointHandle) -> GearJointDef
Trait Implementations§
source§impl JointDef for GearJointDef
impl JointDef for GearJointDef
fn joint_type() -> JointTypewhere
Self: Sized,
Auto Trait Implementations§
impl !RefUnwindSafe for GearJointDef
impl Send for GearJointDef
impl Sync for GearJointDef
impl !Unpin for GearJointDef
impl !UnwindSafe for GearJointDef
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