Trait ComponentSetOption
Other items inrapier3d::data
pub trait ComponentSetOption<T>: Sync { fn get(&self, handle: Index) -> Option<&T>; }
A set of optional elements of type T.
T
fn get(&self, handle: Index) -> Option<&T>
Get the element associated to the given handle, if there is one.
handle
impl ComponentSetOption<RigidBodyType> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyType>
impl ComponentSetOption<ColliderMassProps> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderMassProps>
impl ComponentSetOption<ColliderType> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderType>
impl ComponentSetOption<RigidBodyActivation> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyActivation>
impl ComponentSetOption<RigidBodyCcd> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyCcd>
impl ComponentSetOption<RigidBodyChanges> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyChanges>
impl ComponentSetOption<RigidBodyColliders> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyColliders>
impl ComponentSetOption<RigidBodyDamping> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyDamping>
impl ComponentSetOption<RigidBodyDominance> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyDominance>
impl ComponentSetOption<RigidBodyForces> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyForces>
impl ComponentSetOption<RigidBodyIds> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyIds>
impl ComponentSetOption<RigidBodyMassProps> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyMassProps>
impl ComponentSetOption<RigidBodyPosition> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyPosition>
impl ComponentSetOption<RigidBodyVelocity> for RigidBodySet
fn get(&self, handle: Index) -> Option<&RigidBodyVelocity>
impl ComponentSetOption<ColliderBroadPhaseData> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderBroadPhaseData>
impl ComponentSetOption<ColliderChanges> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderChanges>
impl ComponentSetOption<ColliderFlags> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderFlags>
impl ComponentSetOption<ColliderMaterial> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderMaterial>
impl ComponentSetOption<ColliderParent> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderParent>
impl ComponentSetOption<ColliderPosition> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderPosition>
impl ComponentSetOption<SharedShape> for ColliderSet
fn get(&self, handle: Index) -> Option<&ColliderShape>