pub struct RenderChunkLoadOptions {
pub request: RenderChunkRequest,
pub subchunk_decode: SubChunkDecodeMode,
pub threading: WorldThreadingOptions,
pub pipeline: WorldPipelineOptions,
pub cancel: Option<CancelFlag>,
pub progress: Option<ProgressSink>,
pub priority: RenderChunkPriority,
}Expand description
Options controlling render chunk loading.
Fields§
§request: RenderChunkRequestRender data contract requested by the caller.
subchunk_decode: SubChunkDecodeModeSubchunk decode mode used while loading render data.
threading: WorldThreadingOptionsThreading policy for this operation.
pipeline: WorldPipelineOptionsBounded pipeline settings for this operation.
cancel: Option<CancelFlag>Optional cancellation flag checked during long-running work.
progress: Option<ProgressSink>Optional progress sink invoked during long-running work.
priority: RenderChunkPriorityOrdering policy for chunk loading.
Trait Implementations§
Source§impl Clone for RenderChunkLoadOptions
impl Clone for RenderChunkLoadOptions
Source§fn clone(&self) -> RenderChunkLoadOptions
fn clone(&self) -> RenderChunkLoadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderChunkLoadOptions
impl Debug for RenderChunkLoadOptions
Source§impl Default for RenderChunkLoadOptions
impl Default for RenderChunkLoadOptions
Source§impl From<RenderRegionLoadOptions> for RenderChunkLoadOptions
impl From<RenderRegionLoadOptions> for RenderChunkLoadOptions
Source§fn from(options: RenderRegionLoadOptions) -> Self
fn from(options: RenderRegionLoadOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RenderChunkLoadOptions
impl RefUnwindSafe for RenderChunkLoadOptions
impl Send for RenderChunkLoadOptions
impl Sync for RenderChunkLoadOptions
impl Unpin for RenderChunkLoadOptions
impl UnsafeUnpin for RenderChunkLoadOptions
impl UnwindSafe for RenderChunkLoadOptions
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> 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 more