pub struct Polylist {
pub shapes: Vec<Shape>,
pub material: Option<String>,
}
Expand description
Provides the information needed for a mesh to bind vertex attributes together and then organize those vertices into individual polygons.
Fields§
§shapes: Vec<Shape>
The shapes in this polylist.
material: Option<String>
The material of the polylist. Optional.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Polylist
impl RefUnwindSafe for Polylist
impl Send for Polylist
impl Sync for Polylist
impl Unpin for Polylist
impl UnwindSafe for Polylist
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