pub struct TickCells<'a> {
pub added: &'a UnsafeCell<Tick>,
pub changed: &'a UnsafeCell<Tick>,
}Expand description
Interior-mutable access to the Ticks 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.