pub struct StructureChunkPlacement {
pub id: ChunkPlacementId,
pub ticket: ResidencyTicket,
pub model_to_world: Mat4,
pub representation: ChunkRepresentation,
}Expand description
One transform and representation referencing a generation-bearing global ticket.
Fields§
§id: ChunkPlacementIdStable placement identity.
ticket: ResidencyTicketExact resident chunk generation to draw.
model_to_world: Mat4Dataset-local coordinates to world space.
representation: ChunkRepresentationDeclarative rendering recipe.
Trait Implementations§
Source§impl Clone for StructureChunkPlacement
impl Clone for StructureChunkPlacement
impl Copy for StructureChunkPlacement
Source§impl Debug for StructureChunkPlacement
impl Debug for StructureChunkPlacement
Source§impl PartialEq for StructureChunkPlacement
impl PartialEq for StructureChunkPlacement
impl StructuralPartialEq for StructureChunkPlacement
Auto Trait Implementations§
impl Freeze for StructureChunkPlacement
impl RefUnwindSafe for StructureChunkPlacement
impl Send for StructureChunkPlacement
impl Sync for StructureChunkPlacement
impl Unpin for StructureChunkPlacement
impl UnsafeUnpin for StructureChunkPlacement
impl UnwindSafe for StructureChunkPlacement
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