pub struct Fire {
pub buckets: i32,
pub buckets_seen: i32,
pub burn: i64,
pub spread: i64,
pub timer: i64,
}Expand description
FireComponent: buckets thrown, buckets at the last spread, burn left (burning while above zero), towards the next spread, towards the next ignition check.
Fields§
§buckets: i32The buckets thrown.
buckets_seen: i32The buckets at the last spread.
burn: i64The burn left; burning while above zero.
spread: i64The time towards the next spread.
timer: i64The time towards the next ignition check.
Trait Implementations§
impl Eq for Fire
impl StructuralPartialEq for Fire
Auto Trait Implementations§
impl Freeze for Fire
impl RefUnwindSafe for Fire
impl Send for Fire
impl Sync for Fire
impl Unpin for Fire
impl UnsafeUnpin for Fire
impl UnwindSafe for Fire
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