Struct oxygengine_physics_2d::component::RigidBody2d [−][src]
pub struct RigidBody2d(_);
Implementations
impl RigidBody2d
[src]
impl RigidBody2d
[src]pub fn new(desc: RigidBodyDesc<Scalar>) -> Self
[src]
pub fn is_created(&self) -> bool
[src]
pub fn handle(&self) -> Option<DefaultBodyHandle>
[src]
Trait Implementations
impl Component for RigidBody2d
[src]
impl Component for RigidBody2d
[src]type Storage = FlaggedStorage<Self, VecStorage<Self>>
Associated storage type for this component.
impl PrefabProxy<RigidBody2dPrefabProxy> for RigidBody2d
[src]
impl PrefabProxy<RigidBody2dPrefabProxy> for RigidBody2d
[src]fn from_proxy_with_extras(
proxy: RigidBody2dPrefabProxy,
_: &HashMap<String, Entity>,
_: StateToken
) -> Result<Self, PrefabError>
[src]
proxy: RigidBody2dPrefabProxy,
_: &HashMap<String, Entity>,
_: StateToken
) -> Result<Self, PrefabError>
Auto Trait Implementations
impl !RefUnwindSafe for RigidBody2d
impl !RefUnwindSafe for RigidBody2d
impl Send for RigidBody2d
impl Send for RigidBody2d
impl Sync for RigidBody2d
impl Sync for RigidBody2d
impl Unpin for RigidBody2d
impl Unpin for RigidBody2d
impl !UnwindSafe for RigidBody2d
impl !UnwindSafe for RigidBody2d
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
impl<'a, C> ComponentContainerModify<'a, ComponentContainer<'a, C>> for C where
C: Component,
[src]
impl<'a, C> ComponentContainerModify<'a, ComponentContainer<'a, C>> for C where
C: Component,
[src]pub fn fetch(world: &'a World, entity: Entity) -> ComponentContainer<'a, C>
[src]
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Same<T> for T
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<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,