pub struct RenderRegionLoadOptions {
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 region 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 RenderRegionLoadOptions
impl Clone for RenderRegionLoadOptions
Source§fn clone(&self) -> RenderRegionLoadOptions
fn clone(&self) -> RenderRegionLoadOptions
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 RenderRegionLoadOptions
impl Debug for RenderRegionLoadOptions
Source§impl Default for RenderRegionLoadOptions
impl Default for RenderRegionLoadOptions
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 RenderRegionLoadOptions
impl RefUnwindSafe for RenderRegionLoadOptions
impl Send for RenderRegionLoadOptions
impl Sync for RenderRegionLoadOptions
impl Unpin for RenderRegionLoadOptions
impl UnsafeUnpin for RenderRegionLoadOptions
impl UnwindSafe for RenderRegionLoadOptions
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