Struct rhusics_ecs::DeltaTime[][src]

pub struct DeltaTime<S> where
    S: BaseFloat
{ pub delta_seconds: S, }

Time step resource

Type parameters:

  • S: Scalar

Fields

Delta time since last frame

Trait Implementations

impl<S: Debug> Debug for DeltaTime<S> where
    S: BaseFloat
[src]

Formats the value using the given formatter. Read more

impl<S> Default for DeltaTime<S> where
    S: BaseFloat
[src]

Returns the "default value" for a type. Read more

impl<S> PhysicsTime<S> for DeltaTime<S> where
    S: BaseFloat
[src]

Auto Trait Implementations

impl<S> Send for DeltaTime<S> where
    S: Send

impl<S> Sync for DeltaTime<S> where
    S: Sync