pub(crate) struct ChunkTickLists {
block: BlockTickList,
fluid: FluidTickList,
}Expand description
Block and fluid scheduled-tick queues belonging to one chunk.
Fields§
§block: BlockTickList§fluid: FluidTickListImplementations§
Source§impl ChunkTickLists
impl ChunkTickLists
pub(crate) const fn new(block: BlockTickList, fluid: FluidTickList) -> Self
pub(crate) const fn block(&self) -> &BlockTickList
pub(crate) const fn block_mut(&mut self) -> &mut BlockTickList
pub(crate) const fn fluid(&self) -> &FluidTickList
pub(crate) const fn fluid_mut(&mut self) -> &mut FluidTickList
fn packing_snapshot(&self) -> ChunkTickPackingSnapshot
Trait Implementations§
Source§impl Debug for ChunkTickLists
impl Debug for ChunkTickLists
Source§impl Default for ChunkTickLists
impl Default for ChunkTickLists
Source§fn default() -> ChunkTickLists
fn default() -> ChunkTickLists
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ChunkTickLists
impl !UnwindSafe for ChunkTickLists
impl Freeze for ChunkTickLists
impl Send for ChunkTickLists
impl Sync for ChunkTickLists
impl Unpin for ChunkTickLists
impl UnsafeUnpin for ChunkTickLists
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>