pub struct DebugMeshData {
pub positions: Vec<Vector3>,
pub colors: Vec<[f32; 3]>,
pub indices: Vec<i32>,
}Expand description
CPU vertex arrays for one debug frame. Plain Vecs so the builder is
headlessly testable; the node converts to Packed*.
Fields§
§positions: Vec<Vector3>§colors: Vec<[f32; 3]>§indices: Vec<i32>Auto Trait Implementations§
impl Freeze for DebugMeshData
impl RefUnwindSafe for DebugMeshData
impl Send for DebugMeshData
impl Sync for DebugMeshData
impl Unpin for DebugMeshData
impl UnsafeUnpin for DebugMeshData
impl UnwindSafe for DebugMeshData
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