pub struct ChunkStep {
pub target_status: ChunkStatus,
pub direct_dependencies: ChunkDependencies,
pub accumulated_dependencies: ChunkDependencies,
pub block_state_write_radius: i32,
pub task: ChunkStatusTask,
}Expand description
A chunk step (const-compatible).
Fields§
§target_status: ChunkStatusThe target status of the step.
direct_dependencies: ChunkDependenciesThe direct dependencies of the step.
accumulated_dependencies: ChunkDependenciesThe accumulated dependencies of the step.
block_state_write_radius: i32The block state write radius of the step.
task: ChunkStatusTaskThe task of the step.
Implementations§
Source§impl ChunkStep
impl ChunkStep
Sourceconst PLACEHOLDER: Self
const PLACEHOLDER: Self
A placeholder step used for array initialization.
Sourcepub const fn get_accumulated_radius_of(&self, status: ChunkStatus) -> usize
pub const fn get_accumulated_radius_of(&self, status: ChunkStatus) -> usize
Gets the accumulated radius of the dependencies for the given status.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChunkStep
impl RefUnwindSafe for ChunkStep
impl Send for ChunkStep
impl Sync for ChunkStep
impl Unpin for ChunkStep
impl UnsafeUnpin for ChunkStep
impl UnwindSafe for ChunkStep
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,
§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<>>