pub struct RawSubmission {
pub handle: i64,
pub heights: Vec<f32>,
pub colors: Vec<Color>,
pub normals: Vec<Vector3>,
}Expand description
A raw submit_chunk payload as GDScript handed it over. Held as plain
Vecs (not PackedArrays, which are not Send) so the queue can cross
threads. Validated at drain time, where tile_res is known.
Fields§
§handle: i64§heights: Vec<f32>§colors: Vec<Color>§normals: Vec<Vector3>Trait Implementations§
Source§impl Clone for RawSubmission
impl Clone for RawSubmission
Source§fn clone(&self) -> RawSubmission
fn clone(&self) -> RawSubmission
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 moreAuto Trait Implementations§
impl Freeze for RawSubmission
impl RefUnwindSafe for RawSubmission
impl Send for RawSubmission
impl Sync for RawSubmission
impl Unpin for RawSubmission
impl UnsafeUnpin for RawSubmission
impl UnwindSafe for RawSubmission
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