Struct shipyard_rapier3d::physics::components::JointBuilderComponent[][src]

pub struct JointBuilderComponent { /* fields omitted */ }

Component responsible for initializing a Rapier joint.

This is a transient component that will be automatically replaced by a JointHandleComponent once the Rapier joint it describes has been created and added to the JointSet resource.

Implementations

impl JointBuilderComponent[src]

pub fn new<J>(joint: J, entity1: EntityId, entity2: EntityId) -> Self where
    J: Into<JointParams>, 
[src]

Initializes a joint builder from the given joint params and the entities attached to this joint.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.