pub struct RopeJointDef {
pub body_a: BodyHandle,
pub body_b: BodyHandle,
pub collide_connected: bool,
pub local_anchor_a: Vec2,
pub local_anchor_b: Vec2,
pub max_length: f32,
}
Fields§
§body_a: BodyHandle
§body_b: BodyHandle
§collide_connected: bool
§local_anchor_a: Vec2
§local_anchor_b: Vec2
§max_length: f32
Implementations§
source§impl RopeJointDef
impl RopeJointDef
pub fn new(body_a: BodyHandle, body_b: BodyHandle) -> RopeJointDef
Trait Implementations§
source§impl JointDef for RopeJointDef
impl JointDef for RopeJointDef
fn joint_type() -> JointTypewhere
Self: Sized,
Auto Trait Implementations§
impl RefUnwindSafe for RopeJointDef
impl Send for RopeJointDef
impl Sync for RopeJointDef
impl Unpin for RopeJointDef
impl UnwindSafe for RopeJointDef
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