pub struct Environment<T> {
pub time: f64,
pub dt: f64,
pub cache: Cache<T>,
}
Expand description
Used to set runtime behavior of external evaluation.
Fields§
§time: f64
Total time.
dt: f64
Delta time.
cache: Cache<T>
Cache.
Auto Trait Implementations§
impl<T> Freeze for Environment<T>
impl<T> RefUnwindSafe for Environment<T>where
T: RefUnwindSafe,
impl<T> Send for Environment<T>where
T: Send,
impl<T> Sync for Environment<T>where
T: Sync,
impl<T> Unpin for Environment<T>where
T: Unpin,
impl<T> UnwindSafe for Environment<T>where
T: UnwindSafe,
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