pub struct Submission {
pub handle: i64,
pub color: Vec<u8>,
pub height: Vec<f32>,
pub normal: Option<Vec<u8>>,
}Expand description
A validated surface. normal == None ⇒ finite-difference it (the planet has
the chunk geometry; the builder may not).
Fields§
§handle: i64§color: Vec<u8>§height: Vec<f32>§normal: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for Submission
impl Clone for Submission
Source§fn clone(&self) -> Submission
fn clone(&self) -> Submission
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 Submission
impl Debug for Submission
Source§impl PartialEq for Submission
impl PartialEq for Submission
Source§fn eq(&self, other: &Submission) -> bool
fn eq(&self, other: &Submission) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Submission
Auto Trait Implementations§
impl Freeze for Submission
impl RefUnwindSafe for Submission
impl Send for Submission
impl Sync for Submission
impl Unpin for Submission
impl UnsafeUnpin for Submission
impl UnwindSafe for Submission
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