pub struct AppendSource {
pub positions: Vec<[f32; 3]>,
pub triangles: Vec<[u32; 3]>,
}Expand description
Geometry to append, indexed from zero.
Fields§
§positions: Vec<[f32; 3]>Vertex positions in the target mesh’s local frame.
triangles: Vec<[u32; 3]>Triangles indexed into AppendSource::positions.
Trait Implementations§
Source§impl Clone for AppendSource
impl Clone for AppendSource
Source§fn clone(&self) -> AppendSource
fn clone(&self) -> AppendSource
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 AppendSource
impl Debug for AppendSource
Source§impl Default for AppendSource
impl Default for AppendSource
Source§fn default() -> AppendSource
fn default() -> AppendSource
Returns the “default value” for a type. Read more
Source§impl PartialEq for AppendSource
impl PartialEq for AppendSource
impl StructuralPartialEq for AppendSource
Auto Trait Implementations§
impl Freeze for AppendSource
impl RefUnwindSafe for AppendSource
impl Send for AppendSource
impl Sync for AppendSource
impl Unpin for AppendSource
impl UnsafeUnpin for AppendSource
impl UnwindSafe for AppendSource
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