pub struct TickCells<'a> {
pub added: &'a UnsafeCell<Tick>,
pub changed: &'a UnsafeCell<Tick>,
}
Expand description
Interior-mutable access to the Tick
s for a single component or resource.
Fields§
§added: &'a UnsafeCell<Tick>
The tick indicating when the value was added to the world.
changed: &'a UnsafeCell<Tick>
The tick indicating the last time the value was modified.
Trait Implementations§
impl<'a> Copy for TickCells<'a>
Auto Trait Implementations§
impl<'a> Freeze for TickCells<'a>
impl<'a> !RefUnwindSafe for TickCells<'a>
impl<'a> !Send for TickCells<'a>
impl<'a> !Sync for TickCells<'a>
impl<'a> Unpin for TickCells<'a>
impl<'a> !UnwindSafe for TickCells<'a>
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